Add a replacement for 2009-02-12-GEPNoalias.ll that works without -debug.
[oota-llvm.git] / test / Analysis / BasicAA / 2009-03-04-GEPNoalias.ll
1 ; RUN: llvm-as < %s | opt -aa-eval -basicaa |& grep {0 no alias}
2
3 declare noalias i32* @noalias()
4
5 define void @test(i32 %x) {
6   %a = call i32* @noalias()
7   %b = getelementptr i32* %a, i32 %x
8   ret void
9 }