Remove explicit control flow through the use of the 'not' script
[oota-llvm.git] / test / Transforms / ScalarRepl / basictest.ll
1 ; RUN: as < %s | opt -scalarrepl -mem2reg | dis | not grep alloca
2
3 int %test() {
4   %X = alloca { int, float }
5   %Y = getelementptr {int,float}* %X, long 0, ubyte 0
6   store int 0, int* %Y
7
8   %Z = load int* %Y
9   ret int %Z
10 }