blob: e6d6861375aea054722aba68a2d111231b95ea7d [file] [log] [blame]
Dan Gohmanca9f99d2007-08-02 14:27:55 +00001; RUN: llvm-as < %s | llc -march=x86-64 | grep LCPI | wc -l | grep 3
Evan Chengf951d3e2007-08-13 23:54:16 +00002; RUN: llvm-as < %s | llc -march=x86 | grep LCPI | wc -l | grep 3
Dan Gohmanca9f99d2007-08-02 14:27:55 +00003
4declare float @qux(float %y)
5
6define float @array(float %a) {
7 %n = mul float %a, 9.0
8 %m = call float @qux(float %n)
9 %o = mul float %m, 9.0
10 ret float %o
11}