projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c273be
)
[AMDGPU] Consolidate one more getGeneration check
author
Jay Foad
<jay.foad@amd.com>
Tue, 29 Oct 2019 17:11:21 +0000
(17:11 +0000)
committer
Jay Foad
<jay.foad@amd.com>
Wed, 30 Oct 2019 11:16:42 +0000
(11:16 +0000)
This one should have been done in r363902 when hasReadVCCZBug was
introduced.
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
b/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
index
e84e948
..
6a688b7
100644
(file)
--- a/
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+++ b/
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
@@
-1393,7
+1393,7
@@
bool SIInsertWaitcnts::insertWaitcntInBlock(MachineFunction &MF,
if (ScoreBrackets.getScoreLB(LGKM_CNT) <
ScoreBrackets.getScoreUB(LGKM_CNT) &&
ScoreBrackets.hasPendingEvent(SMEM_ACCESS)) {
- if (ST->
getGeneration() <= AMDGPUSubtarget::SEA_ISLANDS
)
+ if (ST->
hasReadVCCZBug()
)
VCCZBugWorkAround = true;
}
}