1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/test/CodeGen/X86/constant-pool-remat-0.ll
Chris Lattner a76ba56608 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
2007-08-14 16:14:10 +00:00

13 lines
407 B
LLVM

; 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 fastcc float @qux(float %y)
define fastcc float @array(float %a) {
%n = mul float %a, 9.0
%m = call fastcc float @qux(float %n)
%o = mul float %m, 9.0
ret float %o
}