1; RUN: not llc < %s 2>&1 | FileCheck %s
2
3; CHECK: error: fast-math-flags specified for call without floating-point scalar or vector return type
4define i64 @test_lrintf(float %f) {
5entry:
6  %0 = tail call fast i64 @llvm.lrint.i64.f32(float %f)
7  ret i64 %0
8}
9
10declare i64 @llvm.lrint.i64.f32(float)
11