Evan Cheng | 424f8f3 | 2009-06-03 21:13:54 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc -mtriple=x86_64-linux -relocation-model=static -aggressive-remat | grep xmm | count 2 |
Chris Lattner | 18c5987 | 2009-06-27 04:16:01 +0000 | [diff] [blame^] | 2 | ; XFAIL: * |
Dan Gohman | 6d69ba8 | 2008-07-25 00:02:30 +0000 | [diff] [blame] | 3 | |
| 4 | declare void @bar() nounwind |
| 5 | |
| 6 | @a = external constant float |
| 7 | |
| 8 | declare void @qux(float %f) nounwind |
| 9 | |
| 10 | define void @foo() nounwind { |
| 11 | %f = load float* @a |
| 12 | call void @bar() |
| 13 | call void @qux(float %f) |
| 14 | call void @qux(float %f) |
| 15 | ret void |
| 16 | } |