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: testmsxs_builtin:
6 ; HARDFP-LABEL: testmsxs_builtin:
8 define i64 @testmsxs_builtin(float %x) {
10 %0 = tail call i64 @llvm.llround.f32(float %x)
14 ; SOFTFP-LABEL: testmsxd_builtin:
16 ; HARDFP-LABEL: testmsxd_builtin:
18 define i64 @testmsxd_builtin(double %x) {
20 %0 = tail call i64 @llvm.llround.f64(double %x)
24 declare i64 @llvm.llround.f32(float) nounwind readnone
25 declare i64 @llvm.llround.f64(double) nounwind readnone