Don't try to materialize a function that isn't materializable anyways. This
[llvm.git] / test / Integer / fold-fpcast_bt.ll
blob8e5f8386d77539e22bbb826866ac0994968d6266
1 ; RUN: llvm-as < %s | llvm-dis | not grep bitcast
3 define i60 @test1() {
4    ret i60 fptoui(float 0x400D9999A0000000 to i60)
7 define float @test2() {
8   ret float uitofp(i60 17 to float)
11 define i64 @test3() {
12   ret i64 bitcast (double 0x400921FB4D12D84A to i64)
15 define double @test4() {
16   ret double bitcast (i64 42 to double)
19 define i30 @test5() {
20   ret i30 fptoui(float 0x400D9999A0000000 to i30)
23 define float @test6() {
24   ret float uitofp(i30 17 to float)
27 define i64 @test7() {
28   ret i64 bitcast (double 0x400921FB4D12D84A to i64)
31 define double @test8() {
32   ret double bitcast (i64 42 to double)