[Mlir-commits] [mlir] [MLIR][XeGPU] Refactor layout propagation utilities (PR #179016)

Jianhui Li llvmlistbot at llvm.org
Tue Feb 3 21:51:56 PST 2026


================
@@ -185,6 +159,12 @@ void setDistributeLayoutAttr(const OpResult &Result,
 void setDistributeLayoutAttr(const OpOperand &opr,
                              const DistributeLayoutAttr layout);
 
+/// Return the attribute name for the OpOperand to attach DistributeLayoutAttr
+std::string getTemporaryLayoutName(const OpOperand &operand);
----------------
Jianhui-Li wrote:

There are some use in transform op. Should be moved to LayoutImpl.h in the future after cleanup. 

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


More information about the Mlir-commits mailing list