[PATCH] D105086: [NFC][RISCV] Add FrameSetup/FrameDestroy flag to prologue/epilog instructions.
Roger Ferrer Ibanez via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 30 23:14:16 PDT 2021
rogfer01 added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:528
// move BP, SP
TII->copyPhysReg(MBB, MBBI, DL, BPReg, SPReg, false);
}
----------------
rogfer01 wrote:
> I think this might still add unflagged instructions.
>
> Not sure what is the best way to flag them (I imagine we could traverse MBBI to the end of the MBB and invoke `setFlag`).
> (I imagine we could traverse MBBI to the end of the MBB and invoke setFlag).
Oh no, that wouldn't work. Please ignore me.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105086/new/
https://reviews.llvm.org/D105086
More information about the llvm-commits
mailing list