summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/lakemont.ll
blob: ddd24525f27ab72aa2d8ea05f589d9123d484fd9 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc < %s -march=x86 -mcpu=lakemont | FileCheck %s

; Make sure -mcpu=lakemont implies soft floats.
define float @test(float %a, float %b) nounwind readnone {
; CHECK-LABEL: test:
; CHECK: __addsf3
  %add = fadd float %a, %b
  ret float %add
}
OpenPOWER on IntegriCloud