1; RUN: llc < %s -mtriple=i686-- 2; RUN: llc < %s -mtriple=x86_64-- 3; PR1033 4 5define i64 @test1(double %t) { 6 %u = bitcast double %t to i64 ; <i64> [#uses=1] 7 ret i64 %u 8} 9 10define double @test2(i64 %t) { 11 %u = bitcast i64 %t to double ; <double> [#uses=1] 12 ret double %u 13} 14 15define i32 @test3(float %t) { 16 %u = bitcast float %t to i32 ; <i32> [#uses=1] 17 ret i32 %u 18} 19 20define float @test4(i32 %t) { 21 %u = bitcast i32 %t to float ; <float> [#uses=1] 22 ret float %u 23} 24 25