From 4c5e43da7792f75567b693105cc53e3f1992ad98 Mon Sep 17 00:00:00 2001 From: Pirama Arumuga Nainar Date: Wed, 8 Apr 2015 08:55:49 -0700 Subject: Update aosp/master llvm for rebase to r233350 Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49 --- test/CodeGen/PowerPC/lsa.ll | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/CodeGen/PowerPC/lsa.ll') diff --git a/test/CodeGen/PowerPC/lsa.ll b/test/CodeGen/PowerPC/lsa.ll index a892a4c..f4d61c0 100644 --- a/test/CodeGen/PowerPC/lsa.ll +++ b/test/CodeGen/PowerPC/lsa.ll @@ -13,13 +13,13 @@ entry: call void @llvm.lifetime.start(i64 32800, i8* %1) #0 %2 = bitcast [8200 x i32]* %q to i8* call void @llvm.lifetime.start(i64 32800, i8* %2) #0 - %arraydecay = getelementptr inbounds [8200 x i32]* %q, i64 0, i64 0 - %arraydecay1 = getelementptr inbounds [8200 x i32]* %v, i64 0, i64 0 - %arraydecay2 = getelementptr inbounds [8200 x i32]* %w, i64 0, i64 0 + %arraydecay = getelementptr inbounds [8200 x i32], [8200 x i32]* %q, i64 0, i64 0 + %arraydecay1 = getelementptr inbounds [8200 x i32], [8200 x i32]* %v, i64 0, i64 0 + %arraydecay2 = getelementptr inbounds [8200 x i32], [8200 x i32]* %w, i64 0, i64 0 call void @bar(i32* %arraydecay, i32* %arraydecay1, i32* %arraydecay2) #0 - %3 = load i32* %arraydecay2, align 4 - %arrayidx3 = getelementptr inbounds [8200 x i32]* %w, i64 0, i64 1 - %4 = load i32* %arrayidx3, align 4 + %3 = load i32, i32* %arraydecay2, align 4 + %arrayidx3 = getelementptr inbounds [8200 x i32], [8200 x i32]* %w, i64 0, i64 1 + %4 = load i32, i32* %arrayidx3, align 4 ; CHECK: @foo ; CHECK-NOT: lwzx -- cgit v1.1