Fix a typo in asm string of BP* family of instructions. With this fix
authorRoman Divacky <rdivacky@freebsd.org>
Fri, 7 Jun 2013 17:46:57 +0000 (17:46 +0000)
committerRoman Divacky <rdivacky@freebsd.org>
Fri, 7 Jun 2013 17:46:57 +0000 (17:46 +0000)
I am able to compile/assemble/link/run /bin/echo from FreeBSD.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183537 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/SparcInstr64Bit.td
test/CodeGen/SPARC/64cond.ll

index 21ac4a7dc169e15eb25a4cc32de202ea6f209a5c..a37b1583dc807838fe3d40857eaccacee70178ec 100644 (file)
@@ -308,7 +308,7 @@ let Predicates = [Is64Bit] in {
 
 let Uses = [ICC] in
 def BPXCC : BranchSP<0, (ins brtarget:$dst, CCOp:$cc),
-                     "bp$cc %xcc, $dst",
+                     "b$cc %xcc, $dst",
                      [(SPbrxcc bb:$dst, imm:$cc)]>;
 
 // Conditional moves on %xcc.
index f0f6f9e749a48d4bac76f0c3fdf2163dfce2912c..a586bce57546c5d852822c2777b483168d2348ad 100644 (file)
@@ -3,7 +3,7 @@
 
 ; CHECK: cmpri
 ; CHECK: cmp %i1, 1
-; CHECK: bpe %xcc,
+; CHECK: be %xcc,
 define void @cmpri(i64* %p, i64 %x) {
 entry:
   %tobool = icmp eq i64 %x, 1
@@ -19,7 +19,7 @@ if.end:
 
 ; CHECK: cmprr
 ; CHECK: cmp %i1, %i2
-; CHECK: bpgu %xcc,
+; CHECK: bgu %xcc,
 define void @cmprr(i64* %p, i64 %x, i64 %y) {
 entry:
   %tobool = icmp ugt i64 %x, %y