I'm pretty sure that ba is branch always, which is a barrier. Brg should
[oota-llvm.git] / lib / Target / SparcV8 / SparcV8InstrInfo.td
index fa088e1d924b4963c64008b0ab354ea64ac00e66..07491eb1c10e8d5344c4a555c96655d74f1aabe2 100644 (file)
@@ -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">;