mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-28 07:05:11 +00:00
b2ae3634e0
Add a new Intel MCU CPU Lakemont, which doesn't support X87. Differential Revision: http://reviews.llvm.org/D18650 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265128 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|