Don't mark conditional branch instructions as control barriers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86732 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2009-11-10 22:16:57 +00:00
parent b19a5e9be6
commit 5b37fbac1a

View File

@@ -3601,7 +3601,8 @@ def : Pat<(SPUcall (SPUaform texternalsym:$func, 0)),
(BRASL texternalsym:$func)>;
// Unconditional branches:
let isBranch = 1, isTerminator = 1, hasCtrlDep = 1, isBarrier = 1 in {
let isBranch = 1, isTerminator = 1, hasCtrlDep = 1 in {
let isBarrier = 1 in {
def BR :
UncondBranch<0b001001100, (outs), (ins brtarget:$dest),
"br\t$dest",
@@ -3616,6 +3617,7 @@ let isBranch = 1, isTerminator = 1, hasCtrlDep = 1, isBarrier = 1 in {
// Indirect branch
def BI:
BIForm<0b00010101100, "bi\t$func", [(brind R32C:$func)]>;
}
// Conditional branches:
class BRNZInst<dag IOL, list<dag> pattern>: