[Mlir-commits] [mlir] [MLIR][XeGPU] Preserve anchor layouts in recoverTemporaryLayout (PR #182186)

Nishant Patel llvmlistbot at llvm.org
Sun Mar 1 15:01:51 PST 2026


================
@@ -966,4 +966,16 @@ gpu.module @test_distribution {
     gpu.return
   }
 
+  // CHECK-LABEL: @preserve_anchor_layout
+  // CHECK: arith.constant dense<1.000000e+00> : vector<16x128xf32>
+  // CHECK: xegpu.store_nd %{{.*}}, %{{.*}}[%{{.*}}, %{{.*}}] <{layout = #xegpu.layout<inst_data = [8, 16]>}>
----------------
nbpatel wrote:

we are checking the anchor layout ( inst_data) is being preserved...so I think this is fine

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


More information about the Mlir-commits mailing list