• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {MayAlias:.*i32\\* %., i32\\* %.} | grep {%x} | grep {%y}
2
3declare i32* @unclear(i32* %a)
4
5define 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}
11