[llvm] [RISCV] Emit lpad for function with returns-twice attribute (PR #170520)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 3 10:02:02 PST 2025


================
@@ -61,6 +61,16 @@ static void emitLpad(MachineBasicBlock &MBB, const RISCVInstrInfo *TII,
       .addImm(Label);
 }
 
+static bool IsCallReturnTwice(llvm::MachineOperand &MOp) {
----------------
topperc wrote:

Function names should start with lower case.

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


More information about the llvm-commits mailing list