Skip to content

Commit 3b5ce54

Browse files
committed
apply review suggestions
Signed-off-by: dchigarev <[email protected]>
1 parent ce7d549 commit 3b5ce54

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/gc/Transforms/GPU/LinalgToXeGPU.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,9 +1327,8 @@ static Value findAndReplaceBroadcast(linalg::LinalgOp linalgOp,
13271327
auto operandParent = operand;
13281328

13291329
// walk over the 'Value' users and verify that it's only used by 'ops'
1330-
std::function<bool(Value, SmallVector<linalg::LinalgOp> &)> onlyUsedByOp;
1331-
onlyUsedByOp = [&onlyUsedByOp](Value value,
1332-
SmallVector<linalg::LinalgOp> &ops) -> bool {
1330+
std::function<bool(Value, SmallVector<linalg::LinalgOp> &)> onlyUsedByOp =
1331+
[&onlyUsedByOp](Value value, SmallVector<linalg::LinalgOp> &ops) -> bool {
13331332
bool result = true;
13341333
for (auto user : value.getUsers()) {
13351334
if (auto linalgOpUser = dyn_cast<linalg::LinalgOp>(user))

0 commit comments

Comments
 (0)