Chris Lattner | 7ff79c2 | 2008-01-16 05:56:59 +0000 | [diff] [blame] | 1 | ; This should not copy the result of foo into an xmm register. |
Dan Gohman | 36a0947 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 2 | ; RUN: llc < %s -march=x86 -mcpu=yonah -mtriple=i686-apple-darwin9 | not grep xmm |
Chris Lattner | 7ff79c2 | 2008-01-16 05:56:59 +0000 | [diff] [blame] | 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 | |