[Mlir-commits] [mlir] [MLIR][XeGPU] Clean up the temporary layout usage in XeGPU test (PR #195739)

Charitha Saumya llvmlistbot at llvm.org
Tue May 5 14:52:51 PDT 2026


================
@@ -162,10 +158,14 @@ xegpu::DistributeLayoutAttr xegpu::getDistributeLayoutAttr(const Value value) {
     if (auto loop = dyn_cast_if_present<LoopLikeOpInterface>(parentOp)) {
       OpOperand *tiedInit = loop.getTiedLoopInit(arg);
       if (tiedInit)
-        return getDistributeLayoutAttr(tiedInit->get());
+        return getTemporaryLayout(*tiedInit);
----------------
charithaintc wrote:

how is this working? temp attribute can not handle block args if I am not mistaken. 

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


More information about the Mlir-commits mailing list