[llvm] [RISCV][MC] Implicit 0-offset aliases for JR/JALR (PR #94688)

Sam Elliott via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 10:08:59 PDT 2024


================
@@ -190,6 +190,16 @@ jalr x25, x26, 11
 # CHECK-S-OBJ-NOALIAS: jalr zero, 0(ra)
 # CHECK-S-OBJ: ret
 ret
+# CHECK-S-OBJ-NOALIAS: jalr zero, 0(s11)
+# CHECK-S-OBJ: jr s11
+jr (x27)
+# CHECK-S-OBJ-NOALIAS: jalr ra, 0(t3)
+# CHECK-S-OBJ: jalr t3
+jalr (x28)
+# CHECK-S-OBJ-NOALIAS: jalr t4, 0(t5)
+# CHECK-S-OBJ: jalr t4, t5
+jalr x29, x30
----------------
lenary wrote:

Done!

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


More information about the llvm-commits mailing list