1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=avr -mcpu=atmega328p | FileCheck %s
4 define i64 @testmsxs_builtin(float %x) {
5 ; CHECK-LABEL: testmsxs_builtin:
6 ; CHECK: ; %bb.0: ; %entry
7 ; CHECK-NEXT: call llrintf
10 %0 = tail call i64 @llvm.llrint.f32(float %x)
14 define i64 @testmsxd_builtin(double %x) {
15 ; CHECK-LABEL: testmsxd_builtin:
16 ; CHECK: ; %bb.0: ; %entry
17 ; CHECK-NEXT: call llrint
20 %0 = tail call i64 @llvm.llrint.f64(double %x)
24 declare i64 @llvm.llrint.f32(float) nounwind readnone
25 declare i64 @llvm.llrint.f64(double) nounwind readnone