[Mlir-commits] [mlir] [MLIR][XeGPU] Add propagation support for convert_layout op (PR #191598)

Jianhui Li llvmlistbot at llvm.org
Wed Apr 15 11:09:38 PDT 2026


================
@@ -1703,6 +1720,16 @@ LogicalResult xegpu::resolveLayoutConflicts(Operation *target) {
 }
 
 void XeGPUPropagateLayoutPass::runOnOperation() {
+  // Clean up temporary layout attributes
----------------
Jianhui-Li wrote:

The propagation itself set temporary layout (like for the reduction output) and use it in layout conflict stage. So it is a must here to clear any temporary layout so that it doesn't interfere the layout propagation (particularly the layout conflict). 

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


More information about the Mlir-commits mailing list