summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/commute-movcc.ll
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2013-04-29 22:58:55 +0000
committerManman Ren <mren@apple.com>2013-04-29 22:58:55 +0000
commitff6222ef2f474aea9fcca38a69be6245a4af2aa3 (patch)
tree8f5a5ebc561f5b715df4fbc63eec62ba9988ae46 /test/CodeGen/ARM/commute-movcc.ll
parentad96c64355cc5e1da723470d450681a151d1bcd7 (diff)
downloadllvm-ff6222ef2f474aea9fcca38a69be6245a4af2aa3.tar.gz
llvm-ff6222ef2f474aea9fcca38a69be6245a4af2aa3.tar.bz2
llvm-ff6222ef2f474aea9fcca38a69be6245a4af2aa3.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@180745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/commute-movcc.ll')
-rw-r--r--test/CodeGen/ARM/commute-movcc.ll8
1 files changed, 2 insertions, 6 deletions
diff --git a/test/CodeGen/ARM/commute-movcc.ll b/test/CodeGen/ARM/commute-movcc.ll
index 769ba55eb9..fbc25b45b6 100644
--- a/test/CodeGen/ARM/commute-movcc.ll
+++ b/test/CodeGen/ARM/commute-movcc.ll
@@ -32,7 +32,7 @@ for.body: ; preds = %entry, %if.end8
%BestCost.011 = phi i32 [ -1, %entry ], [ %BestCost.1, %if.end8 ]
%BestIdx.010 = phi i32 [ 0, %entry ], [ %BestIdx.1, %if.end8 ]
%arrayidx = getelementptr inbounds i32* %a, i32 %i.012
- %0 = load i32* %arrayidx, align 4, !tbaa !0
+ %0 = load i32* %arrayidx, align 4
%mul = mul i32 %0, %0
%sub = add nsw i32 %i.012, -5
%cmp2 = icmp eq i32 %sub, %Pref
@@ -53,7 +53,7 @@ if.else: ; preds = %for.body
if.end8: ; preds = %if.else, %if.then
%BestIdx.1 = phi i32 [ %i.0.BestIdx.0, %if.then ], [ %BestIdx.0.i.0, %if.else ]
%BestCost.1 = phi i32 [ %mul.BestCost.0, %if.then ], [ %BestCost.0.mul, %if.else ]
- store i32 %mul, i32* %arrayidx, align 4, !tbaa !0
+ store i32 %mul, i32* %arrayidx, align 4
%inc = add i32 %i.012, 1
%cmp = icmp eq i32 %inc, 11
br i1 %cmp, label %for.end, label %for.body
@@ -61,7 +61,3 @@ if.end8: ; preds = %if.else, %if.then
for.end: ; preds = %if.end8
ret i32 %BestIdx.1
}
-
-!0 = metadata !{metadata !"int", metadata !1}
-!1 = metadata !{metadata !"omnipotent char", metadata !2}
-!2 = metadata !{metadata !"Simple C/C++ TBAA", null}