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 8f7e34b commit 7c7e11bCopy full SHA for 7c7e11b
llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp
@@ -1760,9 +1760,10 @@ bool SIWholeQuadMode::run(MachineFunction &MF) {
1760
for (MachineInstr *MI : SetInactiveInstrs) {
1761
if (LowerToCopyInstrs.contains(MI))
1762
continue;
1763
- if (Instructions[MI].MarkedStates & StateStrict) {
1764
- Instructions[MI].Needs |= StateStrictWWM;
1765
- Instructions[MI].Disabled &= ~StateStrictWWM;
+ auto &Info = Instructions[MI];
+ if (Info.MarkedStates & StateStrict) {
+ Info.Needs |= StateStrictWWM;
1766
+ Info.Disabled &= ~StateStrictWWM;
1767
Blocks[MI->getParent()].Needs |= StateStrictWWM;
1768
} else {
1769
LLVM_DEBUG(dbgs() << "Has no WWM marking: " << *MI);
0 commit comments