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

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 8 07:42:59 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
----------------
s-barannikov wrote:

It looks like the current implementation does allow symbols though?
I'm not sure if it is worth issuing an error in this case given the obscurity of the feature, but it may be something to consider.


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


More information about the llvm-commits mailing list