summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PowerPC/stack-realign.ll
diff options
context:
space:
mode:
authorManman Ren <manman.ren@gmail.com>2013-09-30 18:17:35 +0000
committerManman Ren <manman.ren@gmail.com>2013-09-30 18:17:35 +0000
commitaef1b378242dee5f17e440344258460e1dedbb4b (patch)
treeebdbe838400bd944498bca4a393e9cc5b4b97ec3 /test/CodeGen/PowerPC/stack-realign.ll
parentbdf8015cffb1860776e5a5f28014b023a32ab1bc (diff)
downloadexternal_llvm-aef1b378242dee5f17e440344258460e1dedbb4b.zip
external_llvm-aef1b378242dee5f17e440344258460e1dedbb4b.tar.gz
external_llvm-aef1b378242dee5f17e440344258460e1dedbb4b.tar.bz2
TBAA: remove !tbaa from testing cases when they are not needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191689 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/stack-realign.ll')
-rw-r--r--test/CodeGen/PowerPC/stack-realign.ll28
1 files changed, 12 insertions, 16 deletions
diff --git a/test/CodeGen/PowerPC/stack-realign.ll b/test/CodeGen/PowerPC/stack-realign.ll
index f7b6d19..1c7a36a 100644
--- a/test/CodeGen/PowerPC/stack-realign.ll
+++ b/test/CodeGen/PowerPC/stack-realign.ll
@@ -11,13 +11,13 @@ define void @goo(%struct.s* byval nocapture readonly %a) {
entry:
%x = alloca [2 x i32], align 32
%a1 = getelementptr inbounds %struct.s* %a, i64 0, i32 0
- %0 = load i32* %a1, align 4, !tbaa !0
+ %0 = load i32* %a1, align 4
%arrayidx = getelementptr inbounds [2 x i32]* %x, i64 0, i64 0
- store i32 %0, i32* %arrayidx, align 32, !tbaa !0
+ store i32 %0, i32* %arrayidx, align 32
%b = getelementptr inbounds %struct.s* %a, i64 0, i32 1
- %1 = load i32* %b, align 4, !tbaa !0
+ %1 = load i32* %b, align 4
%arrayidx2 = getelementptr inbounds [2 x i32]* %x, i64 0, i64 1
- store i32 %1, i32* %arrayidx2, align 4, !tbaa !0
+ store i32 %1, i32* %arrayidx2, align 4
call void @bar(i32* %arrayidx)
ret void
}
@@ -74,13 +74,13 @@ define void @hoo(%struct.s* byval nocapture readonly %a) {
entry:
%x = alloca [200000 x i32], align 32
%a1 = getelementptr inbounds %struct.s* %a, i64 0, i32 0
- %0 = load i32* %a1, align 4, !tbaa !0
+ %0 = load i32* %a1, align 4
%arrayidx = getelementptr inbounds [200000 x i32]* %x, i64 0, i64 0
- store i32 %0, i32* %arrayidx, align 32, !tbaa !0
+ store i32 %0, i32* %arrayidx, align 32
%b = getelementptr inbounds %struct.s* %a, i64 0, i32 1
- %1 = load i32* %b, align 4, !tbaa !0
+ %1 = load i32* %b, align 4
%arrayidx2 = getelementptr inbounds [200000 x i32]* %x, i64 0, i64 1
- store i32 %1, i32* %arrayidx2, align 4, !tbaa !0
+ store i32 %1, i32* %arrayidx2, align 4
call void @bar(i32* %arrayidx)
ret void
}
@@ -105,13 +105,13 @@ define void @loo(%struct.s* byval nocapture readonly %a) {
entry:
%x = alloca [2 x i32], align 32
%a1 = getelementptr inbounds %struct.s* %a, i64 0, i32 0
- %0 = load i32* %a1, align 4, !tbaa !0
+ %0 = load i32* %a1, align 4
%arrayidx = getelementptr inbounds [2 x i32]* %x, i64 0, i64 0
- store i32 %0, i32* %arrayidx, align 32, !tbaa !0
+ store i32 %0, i32* %arrayidx, align 32
%b = getelementptr inbounds %struct.s* %a, i64 0, i32 1
- %1 = load i32* %b, align 4, !tbaa !0
+ %1 = load i32* %b, align 4
%arrayidx2 = getelementptr inbounds [2 x i32]* %x, i64 0, i64 1
- store i32 %1, i32* %arrayidx2, align 4, !tbaa !0
+ store i32 %1, i32* %arrayidx2, align 4
call void @bar(i32* %arrayidx)
call void asm sideeffect "", "~{f30}"() nounwind
ret void
@@ -145,7 +145,3 @@ entry:
; CHECK-FP: stfd 30, -16(30)
; CHECK-FP: blr
-
-!0 = metadata !{metadata !"int", metadata !1}
-!1 = metadata !{metadata !"omnipotent char", metadata !2}
-!2 = metadata !{metadata !"Simple C/C++ TBAA"}