[clang] [llvm] [RISCV] Add MC layer support for XSfmm*. (PR #133031)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 17 12:52:04 PDT 2025


================
@@ -34,7 +34,7 @@ body:             |
     renamable $v11 = PseudoVMV_S_X undef renamable $v11, %1, 8, 5 /* e32 */
     renamable $v8 = PseudoVLE64_V_M1 undef renamable $v8, %2, 1, 6 /* e64 */, 2 /* tu, ma */ :: (load unknown-size, align 8)
     renamable $v9 = PseudoVLE32_V_M1 undef renamable $v9, %3, 8, 5 /* e32 */, 2 /* tu, ma */ :: (load unknown-size, align 4)
-    INLINEASM &"# use $0 $1 $2 $3", 1 /* sideeffect attdialect */, 3997705 /* reguse:VR */, killed renamable $v10, 3997705 /* reguse:VR */, killed renamable $v11, 3997705 /* reguse:VR */, killed renamable $v8, 3997705 /* reguse:VR */, killed renamable $v9
+    INLINEASM &"# use $0 $1 $2 $3", 1 /* sideeffect attdialect */, 4194313 /* reguse:VR */, killed renamable $v10, 4194313 /* reguse:VR */, killed renamable $v11, 4194313 /* reguse:VR */, killed renamable $v8, 4194313 /* reguse:VR */, killed renamable $v9
----------------
topperc wrote:

The upper 16 bits on these operands is the internal numbering for LLVM's register classes. Adding the tile register classes bumped the number. The test was also updated when GPRNoX31 register class was added in 536fe74aaac437e147fc64dada6af8aab79a8b54.

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


More information about the llvm-commits mailing list