summaryrefslogtreecommitdiff
path: root/test/CodeGen/SPARC
diff options
context:
space:
mode:
authorVenkatraman Govindaraju <venkatra@cs.wisc.edu>2011-01-16 03:15:11 +0000
committerVenkatraman Govindaraju <venkatra@cs.wisc.edu>2011-01-16 03:15:11 +0000
commitc1a62834a2ad33a80ca2b1f3a549f4f7806cd320 (patch)
tree2a7de945c8823a7ca63200af88b2b378d31dc20c /test/CodeGen/SPARC
parent9cd3da47f9d67d345a94dddf85fcbb3ff2dd7200 (diff)
downloadllvm-c1a62834a2ad33a80ca2b1f3a549f4f7806cd320.tar.gz
llvm-c1a62834a2ad33a80ca2b1f3a549f4f7806cd320.tar.bz2
llvm-c1a62834a2ad33a80ca2b1f3a549f4f7806cd320.tar.xz
Implement AnalyzeBranch in Sparc Backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123561 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SPARC')
-rwxr-xr-xtest/CodeGen/SPARC/2011-01-11-CC.ll14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/CodeGen/SPARC/2011-01-11-CC.ll b/test/CodeGen/SPARC/2011-01-11-CC.ll
index c9f7dda3db..55d1764aa9 100755
--- a/test/CodeGen/SPARC/2011-01-11-CC.ll
+++ b/test/CodeGen/SPARC/2011-01-11-CC.ll
@@ -17,7 +17,7 @@ define i32 @test_select_int_icc(i32 %a, i32 %b, i32 %c) nounwind readnone noinli
entry:
; CHECK: test_select_int_icc
; CHECK: subcc
-; CHECK: be
+; CHECK: {{be|bne}}
%0 = icmp eq i32 %a, 0
%1 = select i1 %0, i32 %b, i32 %c
ret i32 %1
@@ -28,7 +28,7 @@ define float @test_select_fp_icc(i32 %a, float %f1, float %f2) nounwind readnone
entry:
; CHECK: test_select_fp_icc
; CHECK: subcc
-; CHECK: be
+; CHECK: {{be|bne}}
%0 = icmp eq i32 %a, 0
%1 = select i1 %0, float %f1, float %f2
ret float %1
@@ -36,9 +36,9 @@ entry:
define double @test_select_dfp_icc(i32 %a, double %f1, double %f2) nounwind readnone noinline {
entry:
-; CHECK: test_select_fp_icc
+; CHECK: test_select_dfp_icc
; CHECK: subcc
-; CHECK: be
+; CHECK: {{be|bne}}
%0 = icmp eq i32 %a, 0
%1 = select i1 %0, double %f1, double %f2
ret double %1
@@ -48,7 +48,7 @@ define i32 @test_select_int_fcc(float %f, i32 %a, i32 %b) nounwind readnone noin
entry:
;CHECK: test_select_int_fcc
;CHECK: fcmps
-;CHECK: fbne
+;CHECK: {{fbe|fbne}}
%0 = fcmp une float %f, 0.000000e+00
%a.b = select i1 %0, i32 %a, i32 %b
ret i32 %a.b
@@ -59,7 +59,7 @@ define float @test_select_fp_fcc(float %f, float %f1, float %f2) nounwind readno
entry:
;CHECK: test_select_fp_fcc
;CHECK: fcmps
-;CHECK: fbne
+;CHECK: {{fbe|fbne}}
%0 = fcmp une float %f, 0.000000e+00
%1 = select i1 %0, float %f1, float %f2
ret float %1
@@ -69,7 +69,7 @@ define double @test_select_dfp_fcc(double %f, double %f1, double %f2) nounwind r
entry:
;CHECK: test_select_dfp_fcc
;CHECK: fcmpd
-;CHECK: fbne
+;CHECK: {{fbne|fbe}}
%0 = fcmp une double %f, 0.000000e+00
%1 = select i1 %0, double %f1, double %f2
ret double %1