AMDGPU: Fix sched type for branches

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279900 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Matt Arsenault 2016-08-27 00:51:02 +00:00
parent 36a8c3e60f
commit f5dc5ec299

View File

@ -430,7 +430,7 @@ def S_ENDPGM : SOPP <0x00000001, (ins), "s_endpgm",
let hasSideEffects = 1;
}
let isBranch = 1 in {
let isBranch = 1, SchedRW = [WriteBranch] in {
def S_BRANCH : SOPP <
0x00000002, (ins sopp_brtarget:$simm16), "s_branch $simm16",
[(br bb:$simm16)]> {