1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc < %s -mtriple=x86_64-unknown | FileCheck %s 3 4define i64 @testmsxs(float %x) { 5; CHECK-LABEL: testmsxs: 6; CHECK: # %bb.0: # %entry 7; CHECK-NEXT: jmp lroundf@PLT # TAILCALL 8entry: 9 %0 = tail call i64 @llvm.lround.i64.f32(float %x) 10 ret i64 %0 11} 12 13define i64 @testmsxd(double %x) { 14; CHECK-LABEL: testmsxd: 15; CHECK: # %bb.0: # %entry 16; CHECK-NEXT: jmp lround@PLT # TAILCALL 17entry: 18 %0 = tail call i64 @llvm.lround.i64.f64(double %x) 19 ret i64 %0 20} 21 22define i64 @testmsll(x86_fp80 %x) { 23; CHECK-LABEL: testmsll: 24; CHECK: # %bb.0: # %entry 25; CHECK-NEXT: jmp lroundl@PLT # TAILCALL 26entry: 27 %0 = tail call i64 @llvm.lround.i64.f80(x86_fp80 %x) 28 ret i64 %0 29} 30 31declare i64 @llvm.lround.i64.f32(float) nounwind readnone 32declare i64 @llvm.lround.i64.f64(double) nounwind readnone 33declare i64 @llvm.lround.i64.f80(x86_fp80) nounwind readnone 34