[llvm] [Mips] Support "$sp" named register (PR #136821)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 15 19:26:50 PDT 2025


================
@@ -22,8 +22,19 @@ define i32 @get_sp() {
   ret i32 %1
 }
 
+define i32 @get_$sp() {
----------------
yingopq wrote:

I have appended test with other reg, can you help review again?

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


More information about the llvm-commits mailing list