[llvm] [AMDGPU] Remove misplaced assert. (PR #154187)
Stanislav Mekhanoshin via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 18 13:46:31 PDT 2025
================
@@ -2905,7 +2905,6 @@ void SIInstrInfo::insertIndirectBranch(MachineBasicBlock &MBB,
MachineBasicBlock &RestoreBB,
const DebugLoc &DL, int64_t BrOffset,
RegScavenger *RS) const {
- assert(RS && "RegScavenger required for long branching");
----------------
rampitec wrote:
I.e., `RS` is unused by the code before its new location at line 2935.
https://github.com/llvm/llvm-project/pull/154187
More information about the llvm-commits
mailing list