[clang] [llvm] [RISCV] Xqccmp Code Generation (PR #128815)
Sam Elliott via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 25 21:36:22 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)
----------------
lenary wrote:
Yeah, sure.
https://github.com/llvm/llvm-project/pull/128815
More information about the cfe-commits
mailing list