[Mlir-commits] [clang-tools-extra] [mlir] [MLIR][XeGPU] Refactor Layout access interface (PR #172125)

Jianhui Li llvmlistbot at llvm.org
Tue Dec 16 11:50:53 PST 2025


================
@@ -740,7 +742,7 @@ struct WgToSgArithConstantOp : public OpConversionPattern<arith::ConstantOp> {
       return failure();
 
     xegpu::DistributeLayoutAttr layout =
-        xegpu::getDistributeLayoutAttr(op.getResult());
+        xegpu::getTempLayout(dyn_cast<OpResult>(op.getResult()));
----------------
Jianhui-Li wrote:

No need after refactoring is full done. 

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


More information about the Mlir-commits mailing list