Dan Gohman | 8aef09b | 2007-09-07 21:32:51 +0000 | [diff] [blame^] | 1 | ; 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 | |||||
4 | declare void @bar(double %x) | ||||
5 | declare void @barf(float %x) | ||||
6 | |||||
7 | define double @foo() { | ||||
8 | call void @bar(double 0.0) | ||||
9 | ret double 0.0 | ||||
10 | } | ||||
11 | define float @foof() { | ||||
12 | call void @barf(float 0.0) | ||||
13 | ret float 0.0 | ||||
14 | } |