xfail these until I recommit the scalarrepl patch
[oota-llvm.git] / test / Transforms / ScalarRepl / union-fp-int.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl | llvm-dis | not grep alloca &&
2 ; RUN: llvm-upgrade < %s | llvm-as | opt -scalarrepl | llvm-dis | grep 'bitcast.*float.*int'
3
4 ; XFAIL: *
5
6 int %test(float %X) {
7         %X_addr = alloca float
8         store float %X, float* %X_addr
9         %X_addr = bitcast float* %X_addr to int*
10         %tmp = load int* %X_addr
11         ret int %tmp
12 }