[Mlir-commits] [mlir] [MLIR][XeGPU] Skip control flow ops in recoverTemporaryLayout (PR #180771)

Igor Zamyatin llvmlistbot at llvm.org
Tue Feb 10 09:49:21 PST 2026


================
@@ -91,7 +91,7 @@ bool xegpu::recoverTemporaryLayouts(Operation *rootOp) {
         continue;
       // Skip block arguments since they don't have defining ops to attach
       // layout attributes to
-      if (isa<BlockArgument>(operand.get()))
+      if (isa<BlockArgument>(operand.get()) || isa<LoopLikeOpInterface>(op))
----------------
Garra1980 wrote:

Looks like it can be carried out of the loop, is it not?

https://github.com/llvm/llvm-project/pull/180771


More information about the Mlir-commits mailing list