[clang] [llvm] [RISCV] Xqccmp Code Generation (PR #128815)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 25 21:17:57 PST 2025
================
@@ -141,9 +141,38 @@ class RISCVMachineFunctionInfo : public MachineFunctionInfo {
// We cannot use fixed locations for the callee saved spill slots if the
// function uses a varargs save area.
// TODO: Use a separate placement for vararg registers to enable Zcmp.
- return MF.getSubtarget<RISCVSubtarget>().hasStdExtZcmp() &&
- !MF.getTarget().Options.DisableFramePointerElim(MF) &&
- VarArgsSaveSize == 0;
+ if (VarArgsSaveSize != 0)
----------------
topperc wrote:
Can we move these functions out of line into the cpp file?
https://github.com/llvm/llvm-project/pull/128815
More information about the llvm-commits
mailing list