We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26648da commit 3bf21baCopy full SHA for 3bf21ba
llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
@@ -397,8 +397,7 @@ bool SIPreEmitPeephole::runOnMachineFunction(MachineFunction &MF) {
397
// and limit the distance to 20 instructions for compile time purposes.
398
// Note: this needs to work on bundles as S_SET_GPR_IDX* instructions
399
// may be bundled with the instructions they modify.
400
- for (auto &MI :
401
- make_early_inc_range(make_range(MBB.instr_begin(), MBB.instr_end()))) {
+ for (auto &MI : make_early_inc_range(MBB.instrs())) {
402
if (Count == Threshold)
403
SetGPRMI = nullptr;
404
else
0 commit comments