diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-31 02:24:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-31 02:24:37 +0000 |
commit | 0f6eab32d0b8880cde65a755e33e2c3a0b7d4ff6 (patch) | |
tree | 16f5ccead8b195745080c28cfdd82e340b96d44d /lib/Target/SparcV8 | |
parent | 62cce395159467b122d9645b67185039faf89600 (diff) | |
download | external_llvm-0f6eab32d0b8880cde65a755e33e2c3a0b7d4ff6.zip external_llvm-0f6eab32d0b8880cde65a755e33e2c3a0b7d4ff6.tar.gz external_llvm-0f6eab32d0b8880cde65a755e33e2c3a0b7d4ff6.tar.bz2 |
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
Diffstat (limited to 'lib/Target/SparcV8')
-rw-r--r-- | lib/Target/SparcV8/SparcV8InstrInfo.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td index fa088e1..07491eb 100644 --- a/lib/Target/SparcV8/SparcV8InstrInfo.td +++ b/lib/Target/SparcV8/SparcV8InstrInfo.td @@ -149,7 +149,9 @@ class BranchV8<bits<4> cc, string nm> : F2_2<cc, 0b010, nm> { 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">; |