diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-10 22:08:18 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-10 22:08:18 +0000 |
commit | 13a7db5b9c4f5e543d037be68ec3428216bfd550 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/CodeGen/X86/2012-09-28-CGPBug.ll | |
parent | 0eb46f5d1e06a4284663d636a74b06adc3a161d7 (diff) | |
parent | 31195f0bdca6ee2a5e72d07edf13e1d81206d949 (diff) | |
download | external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.zip external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.gz external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.bz2 |
am 31195f0b: Merge "Update aosp/master llvm for rebase to r233350"
* commit '31195f0bdca6ee2a5e72d07edf13e1d81206d949':
Update aosp/master llvm for rebase to r233350
Diffstat (limited to 'test/CodeGen/X86/2012-09-28-CGPBug.ll')
-rw-r--r-- | test/CodeGen/X86/2012-09-28-CGPBug.ll | 12 |
1 files changed, 6 insertions, 6 deletions
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 { ; <label>:11 ; preds = %1 %12 = zext i1 %10 to i32 - %13 = getelementptr [4 x i32]* @JT, i32 0, i32 %12 - %14 = load i32* %13 + %13 = getelementptr [4 x i32], [4 x i32]* @JT, i32 0, i32 %12 + %14 = load i32, i32* %13 %15 = add i32 %14, ptrtoint (i8* blockaddress(@h, %11) to i32) %16 = inttoptr i32 %15 to i8* indirectbr i8* %16, [label %17, label %18] ; <label>:17 ; preds = %11 - tail call void (i8*, ...)* @g(i8* getelementptr inbounds ([35 x i8]* @.str40, i32 0, i32 0)) + tail call void (i8*, ...)* @g(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str40, i32 0, i32 0)) br label %22 ; <label>:18 ; preds = %11 |