[Mlir-commits] [mlir] [MLIR][XeGPU] Switch to the new sg to wi pass (PR #188627)
Nishant Patel
llvmlistbot at llvm.org
Tue Mar 31 08:56:20 PDT 2026
================
@@ -1519,9 +1520,15 @@ struct XeGPUSgToWiDistributeExperimentalPass
void XeGPUSgToWiDistributeExperimentalPass::runOnOperation() {
+ // Recover temporary operand layouts for usage in patterns.
+ Operation *root = getOperation();
+ if (!xegpu::recoverTemporaryLayouts(root)) {
----------------
nbpatel wrote:
we need opeand layouts for certain checks inside the patterns....one example is transpose...we need the source layout in that case to see if source layout and result are transpose of each other...and we dont want to traverse to everytime to get the operand layouts
https://github.com/llvm/llvm-project/pull/188627
More information about the Mlir-commits
mailing list