blob: 3b6eb11b6ae482b2dc8bb7822336fefdd7af4696 [file] [log] [blame]
Nick Lewycky523aaa92008-01-06 03:12:44 +00001; RUN: llvm-as %s -o - | opt -basicaa -aa-eval -print-all-alias-modref-info -disable-output |& grep {MayAlias:.*i32\\* %., i32\\* %.} | grep {%x} | grep {%y}
Christopher Lamb6f9fad52007-08-02 01:18:14 +00002
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}