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 3 4; SOFTFP-LABEL: testmsxs_builtin: 5; SOFTFP: bl llroundf 6; HARDFP-LABEL: testmsxs_builtin: 7; HARDFP: bl llroundf 8define i64 @testmsxs_builtin(float %x) { 9entry: 10 %0 = tail call i64 @llvm.llround.f32(float %x) 11 ret i64 %0 12} 13 14; SOFTFP-LABEL: testmsxd_builtin: 15; SOFTFP: bl llround 16; HARDFP-LABEL: testmsxd_builtin: 17; HARDFP: bl llround 18define i64 @testmsxd_builtin(double %x) { 19entry: 20 %0 = tail call i64 @llvm.llround.f64(double %x) 21 ret i64 %0 22} 23 24declare i64 @llvm.llround.f32(float) nounwind readnone 25declare i64 @llvm.llround.f64(double) nounwind readnone 26