blob: 9300c1239cd0714e9ff1cb20f6935417ca61ba7e [file] [log] [blame]
Dan Gohman8aef09b2007-09-07 21:32:51 +00001; RUN: llvm-as < %s | llc -march=x86-64 | grep xor | count 4
2; RUN: llvm-as < %s | llc -march=x86-64 -stats -info-output-file - | grep asm-printer | grep 12
Chris Lattnerd67ee692008-02-14 05:39:46 +00003; RUN: llvm-as < %s | llc -march=x86 | grep fldz
4; RUN: llvm-as < %s | llc -march=x86 | not grep fldl
Dan Gohman8aef09b2007-09-07 21:32:51 +00005
6declare void @bar(double %x)
7declare void @barf(float %x)
8
9define double @foo() {
10 call void @bar(double 0.0)
11 ret double 0.0
12}
13define float @foof() {
14 call void @barf(float 0.0)
15 ret float 0.0
16}