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

Jianhui Li llvmlistbot at llvm.org
Fri Feb 27 18:50:33 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]>}>
----------------
Jianhui-Li wrote:

nit: I think it is better to check what value layout should not be 

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


More information about the Mlir-commits mailing list