llvm-for-llvmta/test/CodeGen/X86/lakemont.ll

10 lines
255 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; 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
}