• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc -mtriple=arm-unknown-unknown < %s | FileCheck %s
2
3; CHECK: test1
4define float @test1() nounwind uwtable readnone ssp {
5; CHECK-NOT: floorf
6  %foo = call float @floorf(float 0x4000CCCCC0000000) nounwind readnone
7  ret float %foo
8}
9
10; CHECK: test2
11define float @test2() nounwind uwtable readnone ssp {
12; CHECK-NOT: ceilf
13  %foo = call float @ceilf(float 0x4000CCCCC0000000) nounwind readnone
14  ret float %foo
15}
16
17; CHECK: test3
18define float @test3() nounwind uwtable readnone ssp {
19; CHECK-NOT: truncf
20  %foo = call float @truncf(float 0x4000CCCCC0000000) nounwind readnone
21  ret float %foo
22}
23
24declare float @floorf(float) nounwind readnone
25declare float @ceilf(float) nounwind readnone
26declare float @truncf(float) nounwind readnone
27
28
29
30