X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2Fbitcast.ll;h=c34c6753bfedc978cb5df7f7ffd3400e455afd35;hb=e1bb461f27841bc051cfadd13a9c1ce2fdc98b0e;hp=d8bc0695eb0042458d18b20f4fd15f940ea7c2f2;hpb=eb1d74e0c8b2c08b98e9175be137ec4ae617a8b7;p=oota-llvm.git diff --git a/test/CodeGen/X86/bitcast.ll b/test/CodeGen/X86/bitcast.ll index d8bc0695eb0..c34c6753bfe 100644 --- a/test/CodeGen/X86/bitcast.ll +++ b/test/CodeGen/X86/bitcast.ll @@ -1,23 +1,24 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 -; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86-64 +; RUN: llc < %s -march=x86 +; RUN: llc < %s -march=x86-64 ; PR1033 -long %test1(double %t) { - %u = bitcast double %t to long - ret long %u +define i64 @test1(double %t) { + %u = bitcast double %t to i64 ; [#uses=1] + ret i64 %u } -double %test2(long %t) { - %u = bitcast long %t to double - ret double %u +define double @test2(i64 %t) { + %u = bitcast i64 %t to double ; [#uses=1] + ret double %u } -int %test3(float %t) { - %u = bitcast float %t to int - ret int %u +define i32 @test3(float %t) { + %u = bitcast float %t to i32 ; [#uses=1] + ret i32 %u } -float %test4(int %t) { - %u = bitcast int %t to float - ret float %u +define float @test4(i32 %t) { + %u = bitcast i32 %t to float ; [#uses=1] + ret float %u } +