summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC/early-ret.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/early-ret.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/early-ret.ll')
-rw-r--r--test/CodeGen/PowerPC/early-ret.ll12
1 files changed, 4 insertions, 8 deletions
diff --git a/test/CodeGen/PowerPC/early-ret.ll b/test/CodeGen/PowerPC/early-ret.ll
index ac4fe05c91..7d3e225a1e 100644
--- a/test/CodeGen/PowerPC/early-ret.ll
+++ b/test/CodeGen/PowerPC/early-ret.ll
@@ -8,7 +8,7 @@ entry:
br i1 %tobool, label %if.end, label %if.then
if.then: ; preds = %entry
- store i32 0, i32* %P, align 4, !tbaa !0
+ store i32 0, i32* %P, align 4
br label %if.end
if.end: ; preds = %entry, %if.then
@@ -25,16 +25,16 @@ entry:
br i1 %tobool, label %if.else, label %if.then
if.then: ; preds = %entry
- store i32 0, i32* %P, align 4, !tbaa !0
+ store i32 0, i32* %P, align 4
%tobool1 = icmp eq i32* %Q, null
br i1 %tobool1, label %if.end3, label %if.then2
if.then2: ; preds = %if.then
- store i32 1, i32* %Q, align 4, !tbaa !0
+ store i32 1, i32* %Q, align 4
br label %if.end3
if.else: ; preds = %entry
- store i32 0, i32* %Q, align 4, !tbaa !0
+ store i32 0, i32* %Q, align 4
br label %if.end3
if.end3: ; preds = %if.then, %if.then2, %if.else
@@ -46,7 +46,3 @@ if.end3: ; preds = %if.then, %if.then2,
}
attributes #0 = { nounwind }
-
-!0 = metadata !{metadata !"int", metadata !1}
-!1 = metadata !{metadata !"omnipotent char", metadata !2}
-!2 = metadata !{metadata !"Simple C/C++ TBAA"}