From: Chris Lattner Date: Sat, 31 Jul 2004 02:24:37 +0000 (+0000) Subject: I'm pretty sure that ba is branch always, which is a barrier. Brg should X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0f6eab32d0b8880cde65a755e33e2c3a0b7d4ff6;p=oota-llvm.git I'm pretty sure that ba is branch always, which is a barrier. Brg should check this :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15357 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index fa088e1d924..07491eb1c10 100644 --- a/lib/Target/Sparc/SparcInstrInfo.td +++ b/lib/Target/Sparc/SparcInstrInfo.td @@ -149,7 +149,9 @@ class BranchV8 cc, string nm> : F2_2 { let isBranch = 1; let isTerminator = 1; } -def BA : BranchV8<0b1000, "ba">; + +let isBarrier = 1 in + def BA : BranchV8<0b1000, "ba">; def BN : BranchV8<0b0000, "bn">; def BNE : BranchV8<0b1001, "bne">; def BE : BranchV8<0b0001, "be">; diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td index fa088e1d924..07491eb1c10 100644 --- a/lib/Target/SparcV8/SparcV8InstrInfo.td +++ b/lib/Target/SparcV8/SparcV8InstrInfo.td @@ -149,7 +149,9 @@ class BranchV8 cc, string nm> : F2_2 { let isBranch = 1; let isTerminator = 1; } -def BA : BranchV8<0b1000, "ba">; + +let isBarrier = 1 in + def BA : BranchV8<0b1000, "ba">; def BN : BranchV8<0b0000, "bn">; def BNE : BranchV8<0b1001, "bne">; def BE : BranchV8<0b0001, "be">;