[Mlir-commits] [mlir] [MLIR][AMDGPU] Add amdgpu.global_transpose_load op for gfx1200+ global memory transpose loads (PR #195287)
Nirvedh Meshram
llvmlistbot at llvm.org
Fri May 1 11:54:01 PDT 2026
================
@@ -1449,6 +1449,53 @@ def AMDGPU_TransposeLoadOp :
let hasVerifier = 1;
}
+def AMDGPU_GlobalTransposeLoadOp :
+ AMDGPU_Op<"global_transpose_load", [SameVariadicOperandSize]>,
+ Arguments<(ins Arg<AnyMemRef, "buffer to transpose load from", [MemRead]>:$src,
+ Variadic<Index>:$srcIndices)>,
+ Results<(outs AnyTypeOf<[
+ FixedVectorOfLengthAndType<[8], [I8, F16, BF16, I16]>,
+ FixedVectorOfLengthAndType<[16], [I<4>, I<6>]>
----------------
nirvedhmeshram wrote:
I have not worked with this types, please confirm this would be the right way to do this.
https://github.com/llvm/llvm-project/pull/195287
More information about the Mlir-commits
mailing list