aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/X86/lakemont.ll
blob: 49946890822f60c35768b01dc594cf13f4b1ac45 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc < %s -mtriple=i686-- -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
}