[TwoAddressInstructionPass] When looking for a 3 addr conversion after commuting...
[oota-llvm.git] / test / CodeGen / X86 / 2008-09-25-sseregparm-1.ll
1 ; RUN: llc < %s -march=x86 -mattr=+sse2 | grep movs | count 2
2 ; RUN: llc < %s -march=x86 -mattr=+sse2 | grep fld | count 2
3 ; check 'inreg' attribute for sse_regparm
4
5 define inreg double @foo1()  nounwind {
6   ret double 1.0
7 }
8
9 define inreg float @foo2()  nounwind {
10   ret float 1.0
11 }
12
13 define double @bar() nounwind {
14   ret double 1.0
15 }
16
17 define float @bar2() nounwind {
18   ret float 1.0
19 }