summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2019-03-27 15:54:45 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2019-03-27 15:54:45 +0000
commite9ad7e9a714d148ae670c2b29b2dfc87ba651263 (patch)
treebf2ffa65ac36d00d34700cdf10bd1f87c303e086 /llvm/lib
parent9f1a7e559ceac80fc2a2956a3e005bc1d81fcd68 (diff)
downloadbcm5719-llvm-e9ad7e9a714d148ae670c2b29b2dfc87ba651263.tar.gz
bcm5719-llvm-e9ad7e9a714d148ae670c2b29b2dfc87ba651263.zip
AMDGPU: wave_barrier is not isBarrier
This is not a control flow instruction, so should not be marked as isBarrier. This fixes a verifier error if followed by unreachable. llvm-svn: 357081
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AMDGPU/SIInstructions.td1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/SIInstructions.td b/llvm/lib/Target/AMDGPU/SIInstructions.td
index b0ab7032d97..c3fa1bb41ef 100644
--- a/llvm/lib/Target/AMDGPU/SIInstructions.td
+++ b/llvm/lib/Target/AMDGPU/SIInstructions.td
@@ -197,7 +197,6 @@ def WAVE_BARRIER : SPseudoInstSI<(outs), (ins),
let hasSideEffects = 1;
let mayLoad = 1;
let mayStore = 1;
- let isBarrier = 1;
let isConvergent = 1;
let FixedSize = 1;
let Size = 0;
OpenPOWER on IntegriCloud