[InstCombine] Signed saturation patterns
[llvm-core.git] / test / CodeGen / ARM / floorf.ll
blob492fc36d2800cd7e00533d41031457232cdb79de
1 ; RUN: llc -mtriple=arm-unknown-unknown < %s | FileCheck %s
3 ; CHECK: test1
4 define float @test1() nounwind uwtable readnone ssp {
5 ; CHECK-NOT: floorf
6   %foo = call float @floorf(float 0x4000CCCCC0000000) nounwind readnone
7   ret float %foo
10 ; CHECK: test2
11 define float @test2() nounwind uwtable readnone ssp {
12 ; CHECK-NOT: ceilf
13   %foo = call float @ceilf(float 0x4000CCCCC0000000) nounwind readnone
14   ret float %foo
17 ; CHECK: test3
18 define float @test3() nounwind uwtable readnone ssp {
19 ; CHECK-NOT: truncf
20   %foo = call float @truncf(float 0x4000CCCCC0000000) nounwind readnone
21   ret float %foo
24 declare float @floorf(float) nounwind readnone
25 declare float @ceilf(float) nounwind readnone
26 declare float @truncf(float) nounwind readnone