summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/SPARC
diff options
context:
space:
mode:
authorVenkatraman Govindaraju <venkatra@cs.wisc.edu>2013-10-06 07:06:44 +0000
committerVenkatraman Govindaraju <venkatra@cs.wisc.edu>2013-10-06 07:06:44 +0000
commitf482d3d3387549bc319d2ef67bd98e261c9dac42 (patch)
treecc5ce6725d186587e15389310183899ded7a8386 /llvm/test/CodeGen/SPARC
parent462a2d235bd8bf8e35437dd6c8a927a6fef0054d (diff)
downloadbcm5719-llvm-f482d3d3387549bc319d2ef67bd98e261c9dac42.tar.gz
bcm5719-llvm-f482d3d3387549bc319d2ef67bd98e261c9dac42.zip
[Sparc] Do not emit nop after fcmp* instruction with V9.
llvm-svn: 192056
Diffstat (limited to 'llvm/test/CodeGen/SPARC')
-rw-r--r--llvm/test/CodeGen/SPARC/2011-01-11-CC.ll4
-rw-r--r--llvm/test/CodeGen/SPARC/fp128.ll1
2 files changed, 5 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/SPARC/2011-01-11-CC.ll b/llvm/test/CodeGen/SPARC/2011-01-11-CC.ll
index 0cb864a7d5d..50f3a65ff9a 100644
--- a/llvm/test/CodeGen/SPARC/2011-01-11-CC.ll
+++ b/llvm/test/CodeGen/SPARC/2011-01-11-CC.ll
@@ -66,9 +66,11 @@ define i32 @test_select_int_fcc(float %f, i32 %a, i32 %b) nounwind readnone noin
entry:
;V8-LABEL: test_select_int_fcc:
;V8: fcmps
+;V8-NEXT: nop
;V8: {{fbe|fbne}}
;V9-LABEL: test_select_int_fcc:
;V9: fcmps
+;V9-NEXT-NOT: nop
;V9-NOT: {{fbe|fbne}}
;V9: mov{{e|ne}} %fcc0
%0 = fcmp une float %f, 0.000000e+00
@@ -95,9 +97,11 @@ define double @test_select_dfp_fcc(double %f, double %f1, double %f2) nounwind r
entry:
;V8-LABEL: test_select_dfp_fcc:
;V8: fcmpd
+;V8-NEXT: nop
;V8: {{fbne|fbe}}
;V9-LABEL: test_select_dfp_fcc:
;V9: fcmpd
+;V9-NEXT-NOT: nop
;V9-NOT: {{fbne|fbe}}
;V9: fmovd{{e|ne}} %fcc0
%0 = fcmp une double %f, 0.000000e+00
diff --git a/llvm/test/CodeGen/SPARC/fp128.ll b/llvm/test/CodeGen/SPARC/fp128.ll
index 789e074d917..7820b766388 100644
--- a/llvm/test/CodeGen/SPARC/fp128.ll
+++ b/llvm/test/CodeGen/SPARC/fp128.ll
@@ -64,6 +64,7 @@ entry:
; HARD-LABEL: f128_compare
; HARD: fcmpq
+; HARD-NEXT: nop
; SOFT-LABEL: f128_compare
; SOFT: _Q_cmp
OpenPOWER on IntegriCloud