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

via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 7 21:38:18 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:

No, only a single bare integer is allowed in that position.

(An exception exists for the `%tgd_call` and `%tldm_call` expressions but that is already handled separately via `TLS_CALL`)

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


More information about the llvm-commits mailing list