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