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