[llvm-commits] [llvm] r41072 - /llvm/trunk/test/CodeGen/X86/constant-pool-remat-0.ll
Chris Lattner
sabre at nondot.org
Tue Aug 14 09:14:12 PDT 2007
Author: lattner
Date: Tue Aug 14 11:14:10 2007
New Revision: 41072
URL: http://llvm.org/viewvc/llvm-project?rev=41072&view=rev
Log:
switch this to use fastcc to avoid fpstack traffic on x86-32. Switch to
using the count script instead of wc -l
Modified:
llvm/trunk/test/CodeGen/X86/constant-pool-remat-0.ll
Modified: llvm/trunk/test/CodeGen/X86/constant-pool-remat-0.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/constant-pool-remat-0.ll?rev=41072&r1=41071&r2=41072&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/constant-pool-remat-0.ll (original)
+++ llvm/trunk/test/CodeGen/X86/constant-pool-remat-0.ll Tue Aug 14 11:14:10 2007
@@ -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
}
More information about the llvm-commits
mailing list