[PATCH] D12397: AMDGPU: Fix s_barrier flags
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 22:02:05 PDT 2015
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: arsenm.
This should be convergent. This is not a
barrier in the isBarrier sense, nor
hasCtrlDep.
http://reviews.llvm.org/D12397
Files:
lib/Target/AMDGPU/SIInstructions.td
Index: lib/Target/AMDGPU/SIInstructions.td
===================================================================
--- lib/Target/AMDGPU/SIInstructions.td
+++ lib/Target/AMDGPU/SIInstructions.td
@@ -480,10 +480,9 @@
[(int_AMDGPU_barrier_local)]
> {
let simm16 = 0;
- let isBarrier = 1;
- let hasCtrlDep = 1;
let mayLoad = 1;
let mayStore = 1;
+ let isConvergent = 1;
}
def S_WAITCNT : SOPP <0x0000000c, (ins WAIT_FLAG:$simm16), "s_waitcnt $simm16">;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12397.33298.patch
Type: text/x-patch
Size: 466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150827/e68b972a/attachment.bin>
More information about the llvm-commits
mailing list