Home | History | Annotate | Download | only in BasicAA
      1 ; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {1 partial alias}
      2 ; PR7959
      3 
      4 target datalayout = "e-p:32:32:32"
      5 
      6 define i32 @test(i32* %tab, i32 %indvar) nounwind {
      7   %tmp31 = mul i32 %indvar, -2
      8   %tmp32 = add i32 %tmp31, 30
      9   %t.5 = getelementptr i32* %tab, i32 %tmp32
     10   %loada = load i32* %tab
     11   store i32 0, i32* %t.5
     12   %loadb = load i32* %tab
     13   %rval = add i32 %loada, %loadb
     14   ret i32 %rval
     15 }
     16