Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Transforms / InstCombine / 2004-05-07-UnsizedCastLoad.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
2
3 %Ty = type opaque
4
5 int %test(%Ty *%X) {
6         %Y = cast %Ty* %X to int*
7         %Z = load int* %Y
8         ret int %Z
9 }