Add information about why this testcase fails
[oota-llvm.git] / test / Transforms / LevelRaise / 2002-05-10-LoadPeephole.ll
1 ; This testcase should have the cast propogated through the load
2 ; just like a store does...
3 ;
4 ; RUN: if as < %s | opt -raise | dis | grep ' cast ' | grep '*'
5 ; RUN: then exit 1
6 ; RUN: else exit 0
7 ; RUN: fi
8
9 int "test"(uint * %Ptr) {
10         %P2 = cast uint *%Ptr to int *
11         %Val = load int * %P2
12         ret int %Val
13 }