[llvm] [clang] [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs (PR #76777)
Nemanja Ivanovic via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 9 09:08:12 PST 2024
================
@@ -985,9 +1003,10 @@ void RISCVFrameLowering::determineCalleeSaves(MachineFunction &MF,
};
for (auto Reg : CSRegs)
- SavedRegs.set(Reg);
+ if (Reg < RISCV::X16 || !Subtarget.isRVE())
----------------
nemanjai wrote:
What happens if we are using `ilp32e/lp64e` ABI on a subtarget that isn't RVE? Should these registers be saved?
https://github.com/llvm/llvm-project/pull/76777
More information about the cfe-commits
mailing list