Dan Gohman | ca9f99d | 2007-08-02 14:27:55 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llc -march=x86-64 | grep LCPI | wc -l | grep 3 |
2 | |||||
3 | declare float @qux(float %y) | ||||
4 | |||||
5 | define float @array(float %a) { | ||||
6 | %n = mul float %a, 9.0 | ||||
7 | %m = call float @qux(float %n) | ||||
8 | %o = mul float %m, 9.0 | ||||
9 | ret float %o | ||||
10 | } |