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

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 01:30:59 PDT 2025


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

More test cases with other reg names?

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


More information about the llvm-commits mailing list