summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-08-14 16:14:10 +0000
committerChris Lattner <sabre@nondot.org>2007-08-14 16:14:10 +0000
commit0e924580682f8ddac85627b103a0672aa6ce524f (patch)
treec1e5d735b872c3912ec6a7decee7cbdb378673fc
parent5c6d53d2ff8920f753e59a2881728ef63ddaa3ae (diff)
downloadbcm5719-llvm-0e924580682f8ddac85627b103a0672aa6ce524f.tar.gz
bcm5719-llvm-0e924580682f8ddac85627b103a0672aa6ce524f.zip
switch this to use fastcc to avoid fpstack traffic on x86-32. Switch to
using the count script instead of wc -l llvm-svn: 41072
-rw-r--r--llvm/test/CodeGen/X86/constant-pool-remat-0.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/constant-pool-remat-0.ll b/llvm/test/CodeGen/X86/constant-pool-remat-0.ll
index f51333eb821..60f38871efa 100644
--- a/llvm/test/CodeGen/X86/constant-pool-remat-0.ll
+++ b/llvm/test/CodeGen/X86/constant-pool-remat-0.ll
@@ -1,12 +1,12 @@
-; RUN: llvm-as < %s | llc -march=x86-64 | grep LCPI | wc -l | grep 3
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep LCPI | wc -l | grep 3
+; RUN: llvm-as < %s | llc -march=x86-64 | grep LCPI | count 3
+; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep LCPI | count 3
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats |& | grep asm-printer | grep 13
-declare float @qux(float %y)
+declare fastcc float @qux(float %y)
-define float @array(float %a) {
+define fastcc float @array(float %a) {
%n = mul float %a, 9.0
- %m = call float @qux(float %n)
+ %m = call fastcc float @qux(float %n)
%o = mul float %m, 9.0
ret float %o
}
OpenPOWER on IntegriCloud