projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AMDGPU: Mark s_barrier as a high latency instruction
[oota-llvm.git]
/
lib
/
Target
/
AMDGPU
/
SIInstructions.td
diff --git
a/lib/Target/AMDGPU/SIInstructions.td
b/lib/Target/AMDGPU/SIInstructions.td
index b041c394bd7aa4c9661b514e48e42c58535e584f..c3835411d38ecd65db52cf9c9eab1c7f45556535 100644
(file)
--- a/
lib/Target/AMDGPU/SIInstructions.td
+++ b/
lib/Target/AMDGPU/SIInstructions.td
@@
-479,6
+479,7
@@
let hasSideEffects = 1 in {
def S_BARRIER : SOPP <0x0000000a, (ins), "s_barrier",
[(int_AMDGPU_barrier_local)]
> {
+ let SchedRW = [WriteBarrier];
let simm16 = 0;
let mayLoad = 1;
let mayStore = 1;