bolt/deps/llvm-18.1.8/llvm/test/CodeGen/X86/lakemont.ll

10 lines
255 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01: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
}