[Mlir-commits] [mlir] [MLIR][XeGPU] Fold lane_data repack convert_layout (PR #204016)
Sang Ik Lee
llvmlistbot at llvm.org
Wed Jun 17 09:07:22 PDT 2026
================
@@ -1638,6 +1638,45 @@ struct SgToLaneConvertLayout
}
}
+ // Special case: fold a convert_layout that merely repacks `lane_data`
+ // along the non-distributed outer dimension - from `[N, 1]` to `[1, 1]`
+ // with `order = [1, 0]`, keeping `lane_layout` unchanged - when its result
+ // is consumed by exactly `N` `vector.extract_strided_slice` ops. After lane
----------------
silee2 wrote:
Maybe that is correct. But user can just write at sg level directly.
https://github.com/llvm/llvm-project/pull/204016
More information about the Mlir-commits
mailing list