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