================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to