[llvm] [RISCV] Use vsetvli instead of vlenb in Prologue/Epilogue (PR #113756)
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 12 09:54:53 PDT 2025
================
@@ -179,7 +179,8 @@ void RISCVRegisterInfo::adjustReg(MachineBasicBlock &MBB,
const DebugLoc &DL, Register DestReg,
Register SrcReg, StackOffset Offset,
MachineInstr::MIFlag Flag,
- MaybeAlign RequiredAlign) const {
+ MaybeAlign RequiredAlign,
+ bool IsPrologueOrEpilogue) const {
----------------
topperc wrote:
Can we use the FrameSetup/FrameDestroy flag instead adding `IsPrologueOrEpilogue`?
https://github.com/llvm/llvm-project/pull/113756
More information about the llvm-commits
mailing list