blob: 492fc36d2800cd7e00533d41031457232cdb79de [file] [log] [blame]
NAKAMURA Takumi24592042012-08-14 00:56:06 +00001; RUN: llc -mtriple=arm-unknown-unknown < %s | FileCheck %s
Owen Andersona40319b2012-08-13 23:32:49 +00002
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