From: Matt Arsenault Date: Fri, 28 Oct 2016 23:00:38 +0000 (+0000) Subject: AMDGPU: Fix instruction flags for s_endpgm X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e9c1e3a793b6120ac6a0f8075ea26d0762c5888;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/llvm/lib/Target/AMDGPU/SOPInstructions.td b/llvm/lib/Target/AMDGPU/SOPInstructions.td index 7056b41..0d376b9 100644 --- a/llvm/lib/Target/AMDGPU/SOPInstructions.td +++ b/llvm/lib/Target/AMDGPU/SOPInstructions.td @@ -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 {