| Chris Lattner | 8f7cec8 | 2008-01-16 05:56:59 +0000 | [diff] [blame] | 1 | ; This should not copy the result of foo into an xmm register. |
| 2 | ; RUN: llvm-as < %s | llc -march=x86 -mcpu=yonah -mtriple=i686-apple-darwin9 | not grep xmm | ||||
| 3 | ; rdar://5689903 | ||||
| 4 | |||||
| 5 | declare double @foo() | ||||
| 6 | |||||
| 7 | define double @carg({ double, double }* byval %z) nounwind { | ||||
| 8 | entry: | ||||
| 9 | %tmp5 = tail call double @foo() nounwind ; <double> [#uses=1] | ||||
| 10 | ret double %tmp5 | ||||
| 11 | } | ||||
| 12 | |||||