[Mlir-commits] [mlir] [MLIR][XeGPU] Decouple `inst_data` and `lane_layout` in propagation (PR #166941)

Charitha Saumya llvmlistbot at llvm.org
Fri Nov 7 09:46:02 PST 2025


================
@@ -167,7 +170,8 @@ LayoutInfo LayoutInfo::join(const LayoutInfo &lhs, const LayoutInfo &rhs) {
 }
 
 /// Construct a new layout with the transposed lane layout and lane data.
-LayoutInfo LayoutInfo::transpose(ArrayRef<int64_t> permutation) const {
+LayoutInfo LayoutInfo::transpose(ArrayRef<int64_t> permutation,
----------------
charithaintc wrote:

nit: is it possible to get rid of the layoutKind argument here to make this more general? Like you will just permute whatever non-null data fields inside the DistributedLayoutAttr?

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


More information about the Mlir-commits mailing list