Remove llvm-upgrade.
[oota-llvm.git] / test / Bitcode / 2006-12-11-Cast-ConstExpr.ll
1 ; This test ensures that we get a bitcast constant expression in and out,
2 ; not a sitofp constant expression. 
3 ; RUN: llvm-as < %s | llvm-dis | \
4 ; RUN:   grep {bitcast (}
5
6 @G = external global i32
7
8 define float @tryit(i32 %A) {
9    ret float sitofp( i32 ptrtoint (i32* @G to i32) to float)
10 }