Skip to content

Commit

Permalink
[Codegen] Remove use of designated initializers (iree-org#17968)
Browse files Browse the repository at this point in the history
See: iree-org#17891 (comment)

Signed-off-by: Benjamin Maxwell <benjamin.maxwell@arm.com>
  • Loading branch information
MacDue authored Jul 19, 2024
1 parent c058c84 commit 5b112cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compiler/src/iree/compiler/Codegen/Utils/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1166,7 +1166,8 @@ computeDimUpperBound(Value shapedValue, unsigned dimNum,
presburger::BoundType::UB, {shapedValue, dimNum},
/*stopCondition=*/nullptr, /*closedUB=*/true);
if (succeeded(maybeDimBoundSize))
return DimBoundSize{.baseSize = *maybeDimBoundSize, .scalable = false};
return DimBoundSize{/*baseSize=*/*maybeDimBoundSize,
/*scalable=*/false};
return failure();
}
FailureOr<DimBound> maybeDimBound =
Expand Down

0 comments on commit 5b112cb

Please sign in to comment.