blob: dfc79f9c0420901a5f6e5fc0cde92232e5b9ced1 [file] [log] [blame]
Chandler Carruth49589f02012-07-02 18:37:59 +00001; RUN: opt < %s -basicaa -aa-eval -print-all-alias-modref-info -disable-output 2>&1 | FileCheck %s
Dan Gohmanb57b6f12010-04-08 18:11:50 +00002
3target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
4
Bill Wendlingd5cc8b82012-04-24 09:15:38 +00005; CHECK: Function: foo:
6; CHECK-NEXT: NoAlias: {}* %p, {}* %q
7
Dan Gohmanb57b6f12010-04-08 18:11:50 +00008define void @foo({}* %p, {}* %q) {
9 store {} {}, {}* %p
10 store {} {}, {}* %q
11 ret void
12}