AMDGPU: Fix instruction flags for s_endpgm

Set isReturn, remove hasSideEffects. Also remove
hasCtrlDep, I'm not really sure what that does.

llvm-svn: 285476
This commit is contained in:
Matt Arsenault 2016-10-28 23:00:38 +00:00
parent 3cd37d0aeb
commit 4e9c1e3a79
1 changed files with 1 additions and 2 deletions

View File

@ -743,8 +743,7 @@ def S_ENDPGM : SOPP <0x00000001, (ins), "s_endpgm",
[(AMDGPUendpgm)]> {
let simm16 = 0;
let isBarrier = 1;
let hasCtrlDep = 1;
let hasSideEffects = 1;
let isReturn = 1;
}
let isBranch = 1, SchedRW = [WriteBranch] in {