blob: 6d211932f727378e26e96e4ce582d0ed71389dac [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
3
4declare void @bar(double %x)
5declare void @barf(float %x)
6
7define double @foo() {
8 call void @bar(double 0.0)
9 ret double 0.0
10}
11define float @foof() {
12 call void @barf(float 0.0)
13 ret float 0.0
14}