forked from OSchip/llvm-project
10 lines
250 B
LLVM
10 lines
250 B
LLVM
|
; 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
|
||
|
}
|