diff options
author | Manman Ren <manman.ren@gmail.com> | 2013-09-30 18:17:55 +0000 |
---|---|---|
committer | Manman Ren <manman.ren@gmail.com> | 2013-09-30 18:17:55 +0000 |
commit | e267f04ef577781f8551a1514f5a781d6a860a2c (patch) | |
tree | b9716616e86ed6c3303e50e7fab07ac406402813 /test/CodeGen/SystemZ | |
parent | aef1b378242dee5f17e440344258460e1dedbb4b (diff) | |
download | external_llvm-e267f04ef577781f8551a1514f5a781d6a860a2c.zip external_llvm-e267f04ef577781f8551a1514f5a781d6a860a2c.tar.gz external_llvm-e267f04ef577781f8551a1514f5a781d6a860a2c.tar.bz2 |
TBAA: update tbaa format from scalar format to struct-path aware format.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ')
-rw-r--r-- | test/CodeGen/SystemZ/and-08.ll | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/test/CodeGen/SystemZ/and-08.ll b/test/CodeGen/SystemZ/and-08.ll index 519edc6..7ded115 100644 --- a/test/CodeGen/SystemZ/and-08.ll +++ b/test/CodeGen/SystemZ/and-08.ll @@ -352,10 +352,10 @@ define void @f25(i64 *%ptr1, i64 *%ptr2) { ; CHECK-LABEL: f25: ; CHECK: nc 0(8,%r3), 0(%r2) ; CHECK: br %r14 - %val = load i64 *%ptr1, align 2, !tbaa !1 - %old = load i64 *%ptr2, align 2, !tbaa !2 + %val = load i64 *%ptr1, align 2, !tbaa !3 + %old = load i64 *%ptr2, align 2, !tbaa !4 %and = and i64 %old, %val - store i64 %and, i64 *%ptr2, align 2, !tbaa !2 + store i64 %and, i64 *%ptr2, align 2, !tbaa !4 ret void } @@ -364,13 +364,15 @@ define void @f26(i64 *%ptr1, i64 *%ptr2) { ; CHECK-LABEL: f26: ; CHECK-NOT: nc ; CHECK: br %r14 - %val = load i64 *%ptr1, align 2, !tbaa !1 - %old = load i64 *%ptr2, align 2, !tbaa !1 + %val = load i64 *%ptr1, align 2, !tbaa !3 + %old = load i64 *%ptr2, align 2, !tbaa !3 %and = and i64 %old, %val - store i64 %and, i64 *%ptr2, align 2, !tbaa !1 + store i64 %and, i64 *%ptr2, align 2, !tbaa !3 ret void } !0 = metadata !{ metadata !"root" } !1 = metadata !{ metadata !"set1", metadata !0 } !2 = metadata !{ metadata !"set2", metadata !0 } +!3 = metadata !{ metadata !1, metadata !1, i64 0} +!4 = metadata !{ metadata !2, metadata !2, i64 0} |