[PATCH] D23576: AMDGPU: Fix instruction flags for s_endpgm
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 16 12:25:15 PDT 2016
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.
Set isReturn, remove hasSideEffects. Also remove hasCtrlDep, I'm not really sure what that does.
https://reviews.llvm.org/D23576
Files:
lib/Target/AMDGPU/SIInstructions.td
Index: lib/Target/AMDGPU/SIInstructions.td
===================================================================
--- lib/Target/AMDGPU/SIInstructions.td
+++ lib/Target/AMDGPU/SIInstructions.td
@@ -426,8 +426,7 @@
[(AMDGPUendpgm)]> {
let simm16 = 0;
let isBarrier = 1;
- let hasCtrlDep = 1;
- let hasSideEffects = 1;
+ let isReturn = 1;
}
let isBranch = 1 in {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23576.68239.patch
Type: text/x-patch
Size: 374 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160816/9dd80a58/attachment.bin>
More information about the llvm-commits
mailing list