9f509b6fbc0ac763e1c960adf1390130f5997521
[oota-llvm.git] / test / Transforms / InstCombine / IntPtrCast.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | notcast
2 target pointersize = 32
3
4 int *%test(int *%P) {
5         %V = cast int* %P to int
6         %P2 = cast int %V to int*
7         ret int* %P2
8 }