From 4504b9580108fd98af9a9f652e551ffaa1372aa6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 31 Jul 2004 02:24:37 +0000 Subject: [PATCH] I'm pretty sure that ba is branch always, which is a barrier. Brg should check this :) llvm-svn: 15357 --- llvm/lib/Target/SparcV8/SparcV8InstrInfo.td | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td b/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td index fa088e1d924b..07491eb1c10e 100644 --- a/llvm/lib/Target/SparcV8/SparcV8InstrInfo.td +++ b/llvm/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">;