Skip to content

Commit 88715e1

Browse files
committed
fix
1 parent 6c5f253 commit 88715e1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mlir/lib/Dialect/XeGPU/Utils/XeGPUUtils.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,10 @@ xegpu::removeLayoutAttr<mlir::OpOperand>(const mlir::OpOperand &operand);
202202

203203
void xegpu::removeLayoutAttrs(Operation *op) {
204204
op->walk([&](Operation *nestOp) {
205-
for (OpOperand &opr : nestOp->getOpOperands()) {
205+
for (OpOperand &opr : nestOp->getOpOperands())
206206
removeLayoutAttr(opr);
207-
}
208-
for (OpResult result : nestOp->getOpResults()) {
207+
for (OpResult result : nestOp->getOpResults())
209208
removeLayoutAttr(result);
210-
}
211209
});
212210
}
213211

0 commit comments

Comments
 (0)