From 1047fe452ffd3b71d9c78ef138a8d19ffe8b3f79 Mon Sep 17 00:00:00 2001 From: Manman Ren Date: Mon, 30 Sep 2013 18:17:35 +0000 Subject: TBAA: remove !tbaa from testing cases when they are not needed. llvm-svn: 191689 --- llvm/test/CodeGen/PowerPC/stack-realign.ll | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) (limited to 'llvm/test/CodeGen/PowerPC/stack-realign.ll') diff --git a/llvm/test/CodeGen/PowerPC/stack-realign.ll b/llvm/test/CodeGen/PowerPC/stack-realign.ll index f7b6d192c77..1c7a36aeeab 100644 --- a/llvm/test/CodeGen/PowerPC/stack-realign.ll +++ b/llvm/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"} -- cgit v1.2.3