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 ad8d549 commit b4061a5Copy full SHA for b4061a5
llvm/lib/Target/AMDGPU/AMDGPUSetWavePriority.cpp
@@ -146,9 +146,10 @@ bool AMDGPUSetWavePriority::runOnMachineFunction(MachineFunction &MF) {
146
bool SuccsMayReachVMEMLoad = false;
147
unsigned NumFollowingVALUInsts = 0;
148
for (const MachineBasicBlock *Succ : MBB->successors()) {
149
- SuccsMayReachVMEMLoad |= MBBInfos[Succ].MayReachVMEMLoad;
+ const MBBInfo &SuccInfo = MBBInfos[Succ];
150
+ SuccsMayReachVMEMLoad |= SuccInfo.MayReachVMEMLoad;
151
NumFollowingVALUInsts =
- std::max(NumFollowingVALUInsts, MBBInfos[Succ].NumVALUInstsAtStart);
152
+ std::max(NumFollowingVALUInsts, SuccInfo.NumVALUInstsAtStart);
153
}
154
MBBInfo &Info = MBBInfos[MBB];
155
if (AtStart)
0 commit comments