1 ; RUN: llc < %s | FileCheck %s
3 ; This test checks default lowering of the intrinsics operating floating point
4 ; values. MSP430 is used as a target in this test because it does not have
5 ; native FP support, so it won't get custom lowering for these intrinsics.
7 ; REQUIRES: msp430-registered-target
9 target datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16"
10 target triple = "msp430---elf"
13 define float @roundeven_01(float %x) {
15 %res = call float @llvm.roundeven.f32(float %x)
18 ; CHECK-LABEL: roundeven_01:
19 ; CHECK: call #roundeven
21 declare float @llvm.roundeven.f32(float %x)