If SSE2 is available, x86 should pass first 3 f32/f64 arguments in XMM registers...
[oota-llvm.git] / test / CodeGen / X86 / fastcc-2.ll
1 ; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin -mattr=+sse2 | grep movsd
2 ; RUN: llvm-as < %s | llc -mtriple=i686-apple-darwin -mattr=+sse2 | grep mov | count 1
3
4 define i32 @foo() nounwind {
5 entry:
6         tail call fastcc void @bar( double 1.000000e+00 ) nounwind
7         ret i32 0
8 }
9
10 declare fastcc void @bar(double)