[llvm] [SPARC][IAS] Add support for `call dest, imm` form (PR #119078)

via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 07:11:40 PST 2024


================
@@ -5,23 +5,44 @@
         ! CHECK:              !   fixup A - offset: 0, value: foo, kind: fixup_sparc_call30
         call foo
 
+        ! CHECK: call foo, 0  ! encoding: [0b01AAAAAA,A,A,A]
+        ! CHECK:              !   fixup A - offset: 0, value: foo, kind: fixup_sparc_call30
+        call foo, 0
----------------
koachan wrote:

Oh yeah, it does allow symbols :(
Do I need to write a custom parser to prevent that?

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


More information about the llvm-commits mailing list