blob: f51333eb8218b444d15a9a2920181b0408a0ed2e [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 Cheng75fed152007-08-14 09:16:00 +00002; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep LCPI | wc -l | grep 3
3; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 -stats |& | grep asm-printer | grep 13
Dan Gohmanca9f99d2007-08-02 14:27:55 +00004
5declare float @qux(float %y)
6
7define float @array(float %a) {
8 %n = mul float %a, 9.0
9 %m = call float @qux(float %n)
10 %o = mul float %m, 9.0
11 ret float %o
12}