summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/ctrloops.ll
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2013-04-30 17:52:57 +0000
committerManman Ren <mren@apple.com>2013-04-30 17:52:57 +0000
commit2dc50d306752c8672d1543feb88517705cdb25e7 (patch)
tree51b8265d04997616227031ee01b2fda343c46589 /test/CodeGen/PowerPC/ctrloops.ll
parent8960a5c63db0d4f1e6ad794ea626c68de9313dbf (diff)
downloadllvm-2dc50d306752c8672d1543feb88517705cdb25e7.tar.gz
llvm-2dc50d306752c8672d1543feb88517705cdb25e7.tar.bz2
llvm-2dc50d306752c8672d1543feb88517705cdb25e7.tar.xz
TBAA: remove !tbaa from testing cases if not used.
This will make it easier to turn on struct-path aware TBAA since the metadata format will change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180796 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/ctrloops.ll')
-rw-r--r--test/CodeGen/PowerPC/ctrloops.ll16
1 files changed, 6 insertions, 10 deletions
diff --git a/test/CodeGen/PowerPC/ctrloops.ll b/test/CodeGen/PowerPC/ctrloops.ll
index 4b6f7b94af..f11e332d5f 100644
--- a/test/CodeGen/PowerPC/ctrloops.ll
+++ b/test/CodeGen/PowerPC/ctrloops.ll
@@ -10,9 +10,9 @@ entry:
for.body: ; preds = %for.body, %entry
%i.01 = phi i32 [ 0, %entry ], [ %inc, %for.body ]
- %0 = load volatile i32* @a, align 4, !tbaa !0
+ %0 = load volatile i32* @a, align 4
%add = add nsw i32 %0, %c
- store volatile i32 %add, i32* @a, align 4, !tbaa !0
+ store volatile i32 %add, i32* @a, align 4
%inc = add nsw i32 %i.01, 1
%exitcond = icmp eq i32 %inc, 2048
br i1 %exitcond, label %for.end, label %for.body
@@ -34,9 +34,9 @@ entry:
for.body: ; preds = %entry, %for.body
%i.02 = phi i32 [ %inc, %for.body ], [ 0, %entry ]
- %0 = load volatile i32* @a, align 4, !tbaa !0
+ %0 = load volatile i32* @a, align 4
%add = add nsw i32 %0, %c
- store volatile i32 %add, i32* @a, align 4, !tbaa !0
+ store volatile i32 %add, i32* @a, align 4
%inc = add nsw i32 %i.02, 1
%exitcond = icmp eq i32 %inc, %d
br i1 %exitcond, label %for.end, label %for.body
@@ -58,9 +58,9 @@ entry:
for.body: ; preds = %entry, %for.body
%i.02 = phi i32 [ %inc, %for.body ], [ 0, %entry ]
%mul = mul nsw i32 %i.02, %c
- %0 = load volatile i32* @a, align 4, !tbaa !0
+ %0 = load volatile i32* @a, align 4
%add = add nsw i32 %0, %mul
- store volatile i32 %add, i32* @a, align 4, !tbaa !0
+ store volatile i32 %add, i32* @a, align 4
%inc = add nsw i32 %i.02, 1
%exitcond = icmp eq i32 %inc, %d
br i1 %exitcond, label %for.end, label %for.body
@@ -73,7 +73,3 @@ for.end: ; preds = %for.body, %entry
; CHECK-NOT: cmplwi
; CHECK: bdnz
}
-
-!0 = metadata !{metadata !"int", metadata !1}
-!1 = metadata !{metadata !"omnipotent char", metadata !2}
-!2 = metadata !{metadata !"Simple C/C++ TBAA"}