Fix bug in regression tests that ignored stderr output in RUN lines. Updated tests...
[oota-llvm.git] / test / Analysis / BasicAA / 2007-08-01-NoAliasAndCalls.ll
1 ; RUN: llvm-as %s -o - | opt -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {MayAlias:.*i32\\* %y, i32\\* %x}
2
3 declare i32* @unclear(i32* %a)
4
5 define void @foo(i32* noalias %x) {
6   %y = call i32* @unclear(i32* %x)
7   store i32 0, i32* %x
8   store i32 0, i32* %y
9   ret void
10 }