X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FX86%2Fbitcast.ll;h=c34c6753bfedc978cb5df7f7ffd3400e455afd35;hb=73aa02eb0979ae1d0643aee03c5d0c4b1926408f;hp=d7c78edb62f21bca299d12b1bc3e1fe1257de226;hpb=73e70822ae9dd03f092b1ae56c5fed6d39b7af3c;p=oota-llvm.git diff --git a/test/CodeGen/X86/bitcast.ll b/test/CodeGen/X86/bitcast.ll index d7c78edb62f..c34c6753bfe 100644 --- a/test/CodeGen/X86/bitcast.ll +++ b/test/CodeGen/X86/bitcast.ll @@ -1,24 +1,24 @@ -; RUN: llvm-upgrade < %s | llvm-as | llc && -; 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 } +