llvm.org GIT mirror llvm / master test / CodeGen / X86 / lakemont.ll
master

Tree @master (Download .tar.gz)

lakemont.ll @masterraw · history · blame

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
}