[llvm] r285476 - AMDGPU: Fix instruction flags for s_endpgm
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 28 16:00:38 PDT 2016
Author: arsenm
Date: Fri Oct 28 18:00:38 2016
New Revision: 285476
URL: http://llvm.org/viewvc/llvm-project?rev=285476&view=rev
Log:
AMDGPU: Fix instruction flags for s_endpgm
Set isReturn, remove hasSideEffects. Also remove
hasCtrlDep, I'm not really sure what that does.
Modified:
llvm/trunk/lib/Target/AMDGPU/SOPInstructions.td
Modified: llvm/trunk/lib/Target/AMDGPU/SOPInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SOPInstructions.td?rev=285476&r1=285475&r2=285476&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SOPInstructions.td (original)
+++ llvm/trunk/lib/Target/AMDGPU/SOPInstructions.td Fri Oct 28 18:00:38 2016
@@ -743,8 +743,7 @@ def S_ENDPGM : SOPP <0x00000001, (ins),
[(AMDGPUendpgm)]> {
let simm16 = 0;
let isBarrier = 1;
- let hasCtrlDep = 1;
- let hasSideEffects = 1;
+ let isReturn = 1;
}
let isBranch = 1, SchedRW = [WriteBranch] in {
More information about the llvm-commits
mailing list