1 ; RUN: llc < %s -mtriple=arm-eabi -float-abi=soft | FileCheck %s --check-prefix=SOFTFP
2 ; RUN: llc < %s -mtriple=arm-eabi -float-abi=hard | FileCheck %s --check-prefix=HARDFP
4 ; SOFTFP-LABEL: testmsws_builtin:
6 ; HARDFP-LABEL: testmsws_builtin:
8 define i32 @testmsws_builtin(float %x) {
10 %0 = tail call i32 @llvm.lround.i32.f32(float %x)
14 ; SOFTFP-LABEL: testmswd_builtin:
16 ; HARDFP-LABEL: testmswd_builtin:
18 define i32 @testmswd_builtin(double %x) {
20 %0 = tail call i32 @llvm.lround.i32.f64(double %x)
24 declare i32 @llvm.lround.i32.f32(float) nounwind readnone
25 declare i32 @llvm.lround.i32.f64(double) nounwind readnone