[PATCH] D131587: [CodeGen] Deduplicate restore blocks in branch relaxation
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 28 02:23:47 PST 2023
foad added inline comments.
================
Comment at: llvm/include/llvm/CodeGen/TargetInstrInfo.h:607
/// the offset of the position to insert the new branch.
- virtual void insertIndirectBranch(MachineBasicBlock &MBB,
- MachineBasicBlock &NewDestBB,
- MachineBasicBlock &RestoreBB,
- const DebugLoc &DL, int64_t BrOffset = 0,
- RegScavenger *RS = nullptr) const {
+ virtual void
+ insertIndirectBranch(MachineBasicBlock &MBB, MachineBasicBlock &NewDestBB,
----------------
The new argument needs documentation.
================
Comment at: llvm/lib/Target/AMDGPU/SIInstrInfo.cpp:2558
- // FIXME: If spilling is necessary, this will fail because this scavenger has
- // no emergency stack slots. It is non-trivial to spill in this situation,
----------------
Why is this removed?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131587/new/
https://reviews.llvm.org/D131587
More information about the llvm-commits
mailing list