xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/lakemont.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 -mcpu=lakemont | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker; Make sure -mcpu=lakemont implies soft floats.
4*9880d681SAndroid Build Coastguard Workerdefine float @test(float %a, float %b) nounwind readnone {
5*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: test:
6*9880d681SAndroid Build Coastguard Worker; CHECK: __addsf3
7*9880d681SAndroid Build Coastguard Worker  %add = fadd float %a, %b
8*9880d681SAndroid Build Coastguard Worker  ret float %add
9*9880d681SAndroid Build Coastguard Worker}
10