[llvm] [LLVM][NVPTX] Add support for ldmatrix extensions introduced in PTX 8.6 (PR #124899)
Artem Belevich via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 13 11:05:39 PDT 2025
================
@@ -7413,9 +7436,9 @@ class LDMATRIX<WMMA_REGINFO Frag, bit Transposed, string Space>
defset list<WMMA_INSTR> LDMATRIXs = {
foreach transposed = [false, true] in {
foreach space = [".shared", ""] in {
- foreach frag = NVVM_MMA_OPS.all_ldmatrix_ops in
- if NVVM_LDMATRIX_SUPPORTED<frag>.ret then
- def : LDMATRIX<WMMA_REGINFO<frag, "ldmatrix">, transposed, space>;
+ foreach frag = NVVM_MMA_OPS.all_ldmatrix_ops in
+ if NVVM_LDMATRIX_SUPPORTED<frag, transposed>.ret then
+ def : LDMATRIX<WMMA_REGINFO<frag, "ldmatrix">, transposed, space>;
----------------
Artem-B wrote:
Looks like these lines got shifted by an extra indentation level. You may want to undo that.
https://github.com/llvm/llvm-project/pull/124899
More information about the llvm-commits
mailing list