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 fc1450c commit 6cb2f6dCopy full SHA for 6cb2f6d
llvm/lib/Target/AMDGPU/AMDGPUInsertDelayAlu.cpp
@@ -400,8 +400,8 @@ class AMDGPUInsertDelayAlu {
400
if (Emit) {
401
assert(State == BlockState[&MBB] &&
402
"Basic block state should not have changed on final pass!");
403
- } else if (State != BlockState[&MBB]) {
404
- BlockState[&MBB] = std::move(State);
+ } else if (DelayState &BS = BlockState[&MBB]; State != BS) {
+ BS = std::move(State);
405
Changed = true;
406
}
407
return Changed;
0 commit comments