[llvm] [RISCV] Software guard direct calls in large code model (PR #109377)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 20 00:42:04 PDT 2024


================
@@ -125,11 +125,12 @@ void RISCVMCCodeEmitter::expandFunctionCall(const MCInst &MI,
   MCRegister Ra;
   if (MI.getOpcode() == RISCV::PseudoTAIL) {
     Func = MI.getOperand(0);
-    Ra = RISCV::X6;
----------------
jrtc27 wrote:

This seems gratuitous?

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


More information about the llvm-commits mailing list