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 9905728 commit 7a5d1e9Copy full SHA for 7a5d1e9
llvm/lib/Target/AMDGPU/AMDGPUWaitSGPRHazards.cpp
@@ -384,13 +384,14 @@ class AMDGPUWaitSGPRHazards {
384
}
385
386
387
- bool Changed = State != BlockState[&MBB].Out;
+ BlockHazardState &BS = BlockState[&MBB];
388
+ bool Changed = State != BS.Out;
389
if (Emit) {
390
assert(!Changed && "Hazard state should not change on emit pass");
391
return Emitted;
392
393
if (Changed)
- BlockState[&MBB].Out = State;
394
+ BS.Out = State;
395
return Changed;
396
397
0 commit comments