New testcase distilled from SPEC MCF benchmark
[oota-llvm.git] / test / Transforms / LevelRaise / 2002-09-10-PointerAdds.ll
1 ; RUN: as < %s | opt -raise
2
3 int* %test(int* %P, int* %Q) {
4         %P = cast int* %P to ulong
5         %Q = cast int* %Q to ulong
6         %V = add ulong %P, %Q
7         %V = cast ulong %V to int*
8         ret int* %V
9 }