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/X86/2012-09-28-CGPBug.ll | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/CodeGen/X86/2012-09-28-CGPBug.ll') diff --git a/test/CodeGen/X86/2012-09-28-CGPBug.ll b/test/CodeGen/X86/2012-09-28-CGPBug.ll index 32d7d01..57af20e 100644 --- a/test/CodeGen/X86/2012-09-28-CGPBug.ll +++ b/test/CodeGen/X86/2012-09-28-CGPBug.ll @@ -16,10 +16,10 @@ define void @h(i8*) nounwind ssp { %2 = alloca i8* store i8* %0, i8** %2 - %3 = load i8** %2 + %3 = load i8*, i8** %2 %4 = bitcast i8* %3 to { i32, i32 }* - %5 = getelementptr { i32, i32 }* %4, i32 0, i32 0 - %6 = load i32* %5 + %5 = getelementptr { i32, i32 }, { i32, i32 }* %4, i32 0, i32 0 + %6 = load i32, i32* %5 %7 = srem i32 %6, 2 %8 = icmp slt i32 %6, 2 %9 = select i1 %8, i32 %6, i32 %7 @@ -28,14 +28,14 @@ define void @h(i8*) nounwind ssp { ;