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

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 7 08:32:39 PST 2024


================
@@ -1036,6 +1036,19 @@ let Uses = [O6],
     let Inst{29-0} = disp;
   }
 
+  // call with trailing imm argument.
+  // The imm argument is discarded.
+  let isAsmParserOnly = 1 in {
+    def CALLi : InstSP<(outs), (ins calltarget:$disp, i32imm:$imm, variable_ops),
----------------
s-barannikov wrote:

`variable_ops` is only meaningful for SelectionDAG, it is not needed here.


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


More information about the llvm-commits mailing list