blob: fc3e35ed1f9bafcbd86eddc3c1bcfe38f0466892 [file] [log] [blame]
John Bauman66b8ab22014-05-06 15:57:45 -04001; 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
5define inreg double @foo1() nounwind {
6 ret double 1.0
7}
8
9define inreg float @foo2() nounwind {
10 ret float 1.0
11}
12
13define double @bar() nounwind {
14 ret double 1.0
15}
16
17define float @bar2() nounwind {
18 ret float 1.0
19}