[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 15 12:58:23 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:

> Do I need to write a custom parser to prevent that?

I'll leave that up to you :)


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


More information about the llvm-commits mailing list