[Mlir-commits] [mlir] [MLIR][XeGPU] Switch to the new sg to wi pass (PR #188627)
Nishant Patel
llvmlistbot at llvm.org
Tue Mar 31 09:19:27 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:
they dont get dumped out in the IR, they will attached at the start of the pass, used in the patterns and discarded...so you wont see them in between passes...I think @Jianhui-Li suggested we want to avoid use of getDistributedLayout and instead use getTemporaryLayout
https://github.com/llvm/llvm-project/pull/188627
More information about the Mlir-commits
mailing list