Use not instead of grep-not
[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: as < %s | opt -raise | dis | grep ' cast ' | not grep '*'
5
6 int "test"(uint * %Ptr) {
7         %P2 = cast uint *%Ptr to int *
8         %Val = load int * %P2
9         ret int %Val
10 }