[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:40 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),
+ "call $disp, $imm",
+ [],
+ IIC_jmp_or_call> {
----------------
s-barannikov wrote:
Scheduling info isn't needed either, these instructions will never go through CodeGen (won't they?).
https://github.com/llvm/llvm-project/pull/119078
More information about the llvm-commits
mailing list