X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FBitcode%2F2006-12-11-Cast-ConstExpr.ll;h=6df8711fe708898a5d3f46c45182532c6df56026;hb=1023643d501b4375b261eb5449a2bb0195f49780;hp=4c768d63cb6a4071feeb278aff10c8ff8a211701;hpb=7e9e10bd46dc4fd6d7de3ed1cbe28b3a058736fc;p=oota-llvm.git diff --git a/test/Bitcode/2006-12-11-Cast-ConstExpr.ll b/test/Bitcode/2006-12-11-Cast-ConstExpr.ll index 4c768d63cb6..6df8711fe70 100644 --- a/test/Bitcode/2006-12-11-Cast-ConstExpr.ll +++ b/test/Bitcode/2006-12-11-Cast-ConstExpr.ll @@ -1,10 +1,10 @@ ; This test ensures that we get a bitcast constant expression in and out, ; not a sitofp constant expression. -; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \ +; RUN: llvm-as < %s | llvm-dis | \ ; RUN: grep {bitcast (} -%G = external global int +@G = external global i32 -float %tryit(int %A) { - ret float bitcast( int ptrtoint (int* %G to int) to float) +define float @tryit(i32 %A) { + ret float bitcast( i32 ptrtoint (i32* @G to i32) to float) }