summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/constant-pool-remat-0.ll
blob: d5af99ef9faa5730f51190af89118c48c2ec54f7 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: llvm-as < %s | llc -march=x86-64 | grep LCPI | wc -l | grep 3

declare float @qux(float %y)

define float @array(float %a) {
  %n = mul float %a, 9.0
  %m = call float @qux(float %n)
  %o = mul float %m, 9.0
  ret float %o
}