summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/coalescer-identity.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/X86/coalescer-identity.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/X86/coalescer-identity.ll')
-rw-r--r--test/CodeGen/X86/coalescer-identity.ll12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/CodeGen/X86/coalescer-identity.ll b/test/CodeGen/X86/coalescer-identity.ll
index 9c72ee6296..1aac09594c 100644
--- a/test/CodeGen/X86/coalescer-identity.ll
+++ b/test/CodeGen/X86/coalescer-identity.ll
@@ -12,10 +12,10 @@ target triple = "x86_64-apple-macosx10.8.0"
define void @func() nounwind uwtable ssp {
for.body.lr.ph:
- %0 = load i32* @g2, align 4, !tbaa !0
+ %0 = load i32* @g2, align 4
%tobool6 = icmp eq i32 %0, 0
%s.promoted = load i16* @s, align 2
- %.pre = load i32* @g1, align 4, !tbaa !0
+ %.pre = load i32* @g1, align 4
br i1 %tobool6, label %for.body.us, label %for.body
for.body.us: ; preds = %for.body.lr.ph, %for.inc.us
@@ -43,11 +43,11 @@ for.inc.us: ; preds = %cond.end.us, %for.b
cond.end.us: ; preds = %if.then7.us, %cond.false.us
%4 = phi i32 [ 0, %cond.false.us ], [ %1, %if.then7.us ]
%cond.us = phi i32 [ 0, %cond.false.us ], [ %v.010.us, %if.then7.us ]
- store i32 %cond.us, i32* @g0, align 4, !tbaa !0
+ store i32 %cond.us, i32* @g0, align 4
br label %for.inc.us
cond.false.us: ; preds = %if.then7.us
- store i32 0, i32* @g1, align 4, !tbaa !0
+ store i32 0, i32* @g1, align 4
br label %cond.end.us
if.then7.us: ; preds = %for.body.us
@@ -76,7 +76,3 @@ for.end: ; preds = %for.inc.us, %for.bo
store i16 %dec12.lcssa, i16* @s, align 2
ret void
}
-
-!0 = metadata !{metadata !"int", metadata !1}
-!1 = metadata !{metadata !"omnipotent char", metadata !2}
-!2 = metadata !{metadata !"Simple C/C++ TBAA"}