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/Transforms/InstCombine/disable-simplify-libcalls.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/Transforms/InstCombine/disable-simplify-libcalls.ll')
-rw-r--r-- | test/Transforms/InstCombine/disable-simplify-libcalls.ll | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/test/Transforms/InstCombine/disable-simplify-libcalls.ll b/test/Transforms/InstCombine/disable-simplify-libcalls.ll index 6652788..e25ce31 100644 --- a/test/Transforms/InstCombine/disable-simplify-libcalls.ll +++ b/test/Transforms/InstCombine/disable-simplify-libcalls.ll @@ -87,7 +87,7 @@ define double @t5(double %x) { define i8* @t6(i8* %x) { ; CHECK-LABEL: @t6( - %empty = getelementptr [1 x i8]* @empty, i32 0, i32 0 + %empty = getelementptr [1 x i8], [1 x i8]* @empty, i32 0, i32 0 %ret = call i8* @strcat(i8* %x, i8* %empty) ret i8* %ret ; CHECK: call i8* @strcat @@ -95,7 +95,7 @@ define i8* @t6(i8* %x) { define i8* @t7(i8* %x) { ; CHECK-LABEL: @t7( - %empty = getelementptr [1 x i8]* @empty, i32 0, i32 0 + %empty = getelementptr [1 x i8], [1 x i8]* @empty, i32 0, i32 0 %ret = call i8* @strncat(i8* %x, i8* %empty, i32 1) ret i8* %ret ; CHECK: call i8* @strncat @@ -103,7 +103,7 @@ define i8* @t7(i8* %x) { define i8* @t8() { ; CHECK-LABEL: @t8( - %x = getelementptr inbounds [13 x i8]* @.str1, i32 0, i32 0 + %x = getelementptr inbounds [13 x i8], [13 x i8]* @.str1, i32 0, i32 0 %ret = call i8* @strchr(i8* %x, i32 119) ret i8* %ret ; CHECK: call i8* @strchr @@ -111,7 +111,7 @@ define i8* @t8() { define i8* @t9() { ; CHECK-LABEL: @t9( - %x = getelementptr inbounds [13 x i8]* @.str1, i32 0, i32 0 + %x = getelementptr inbounds [13 x i8], [13 x i8]* @.str1, i32 0, i32 0 %ret = call i8* @strrchr(i8* %x, i32 119) ret i8* %ret ; CHECK: call i8* @strrchr @@ -119,8 +119,8 @@ define i8* @t9() { define i32 @t10() { ; CHECK-LABEL: @t10( - %x = getelementptr inbounds [4 x i8]* @.str2, i32 0, i32 0 - %y = getelementptr inbounds [4 x i8]* @.str3, i32 0, i32 0 + %x = getelementptr inbounds [4 x i8], [4 x i8]* @.str2, i32 0, i32 0 + %y = getelementptr inbounds [4 x i8], [4 x i8]* @.str3, i32 0, i32 0 %ret = call i32 @strcmp(i8* %x, i8* %y) ret i32 %ret ; CHECK: call i32 @strcmp @@ -128,8 +128,8 @@ define i32 @t10() { define i32 @t11() { ; CHECK-LABEL: @t11( - %x = getelementptr inbounds [4 x i8]* @.str2, i32 0, i32 0 - %y = getelementptr inbounds [4 x i8]* @.str3, i32 0, i32 0 + %x = getelementptr inbounds [4 x i8], [4 x i8]* @.str2, i32 0, i32 0 + %y = getelementptr inbounds [4 x i8], [4 x i8]* @.str3, i32 0, i32 0 %ret = call i32 @strncmp(i8* %x, i8* %y, i64 3) ret i32 %ret ; CHECK: call i32 @strncmp @@ -137,7 +137,7 @@ define i32 @t11() { define i8* @t12(i8* %x) { ; CHECK-LABEL: @t12( - %y = getelementptr inbounds [4 x i8]* @.str2, i32 0, i32 0 + %y = getelementptr inbounds [4 x i8], [4 x i8]* @.str2, i32 0, i32 0 %ret = call i8* @strcpy(i8* %x, i8* %y) ret i8* %ret ; CHECK: call i8* @strcpy @@ -145,7 +145,7 @@ define i8* @t12(i8* %x) { define i8* @t13(i8* %x) { ; CHECK-LABEL: @t13( - %y = getelementptr inbounds [4 x i8]* @.str2, i32 0, i32 0 + %y = getelementptr inbounds [4 x i8], [4 x i8]* @.str2, i32 0, i32 0 %ret = call i8* @stpcpy(i8* %x, i8* %y) ret i8* %ret ; CHECK: call i8* @stpcpy @@ -153,7 +153,7 @@ define i8* @t13(i8* %x) { define i8* @t14(i8* %x) { ; CHECK-LABEL: @t14( - %y = getelementptr inbounds [4 x i8]* @.str2, i32 0, i32 0 + %y = getelementptr inbounds [4 x i8], [4 x i8]* @.str2, i32 0, i32 0 %ret = call i8* @strncpy(i8* %x, i8* %y, i64 3) ret i8* %ret ; CHECK: call i8* @strncpy @@ -161,7 +161,7 @@ define i8* @t14(i8* %x) { define i64 @t15() { ; CHECK-LABEL: @t15( - %x = getelementptr inbounds [4 x i8]* @.str2, i32 0, i32 0 + %x = getelementptr inbounds [4 x i8], [4 x i8]* @.str2, i32 0, i32 0 %ret = call i64 @strlen(i8* %x) ret i64 %ret ; CHECK: call i64 @strlen @@ -169,7 +169,7 @@ define i64 @t15() { define i8* @t16(i8* %x) { ; CHECK-LABEL: @t16( - %y = getelementptr inbounds [1 x i8]* @.str, i32 0, i32 0 + %y = getelementptr inbounds [1 x i8], [1 x i8]* @.str, i32 0, i32 0 %ret = call i8* @strpbrk(i8* %x, i8* %y) ret i8* %ret ; CHECK: call i8* @strpbrk @@ -177,7 +177,7 @@ define i8* @t16(i8* %x) { define i64 @t17(i8* %x) { ; CHECK-LABEL: @t17( - %y = getelementptr inbounds [1 x i8]* @.str, i32 0, i32 0 + %y = getelementptr inbounds [1 x i8], [1 x i8]* @.str, i32 0, i32 0 %ret = call i64 @strspn(i8* %x, i8* %y) ret i64 %ret ; CHECK: call i64 @strspn @@ -185,7 +185,7 @@ define i64 @t17(i8* %x) { define double @t18(i8** %y) { ; CHECK-LABEL: @t18( - %x = getelementptr inbounds [6 x i8]* @.str4, i64 0, i64 0 + %x = getelementptr inbounds [6 x i8], [6 x i8]* @.str4, i64 0, i64 0 %ret = call double @strtod(i8* %x, i8** %y) ret double %ret ; CHECK: call double @strtod @@ -193,7 +193,7 @@ define double @t18(i8** %y) { define float @t19(i8** %y) { ; CHECK-LABEL: @t19( - %x = getelementptr inbounds [6 x i8]* @.str4, i64 0, i64 0 + %x = getelementptr inbounds [6 x i8], [6 x i8]* @.str4, i64 0, i64 0 %ret = call float @strtof(i8* %x, i8** %y) ret float %ret ; CHECK: call float @strtof @@ -201,7 +201,7 @@ define float @t19(i8** %y) { define x86_fp80 @t20(i8** %y) { ; CHECK-LABEL: @t20( - %x = getelementptr inbounds [6 x i8]* @.str4, i64 0, i64 0 + %x = getelementptr inbounds [6 x i8], [6 x i8]* @.str4, i64 0, i64 0 %ret = call x86_fp80 @strtold(i8* %x, i8** %y) ret x86_fp80 %ret ; CHECK: call x86_fp80 @strtold @@ -209,7 +209,7 @@ define x86_fp80 @t20(i8** %y) { define i64 @t21(i8** %y) { ; CHECK-LABEL: @t21( - %x = getelementptr inbounds [5 x i8]* @.str5, i64 0, i64 0 + %x = getelementptr inbounds [5 x i8], [5 x i8]* @.str5, i64 0, i64 0 %ret = call i64 @strtol(i8* %x, i8** %y, i32 10) ret i64 %ret ; CHECK: call i64 @strtol @@ -217,7 +217,7 @@ define i64 @t21(i8** %y) { define i64 @t22(i8** %y) { ; CHECK-LABEL: @t22( - %x = getelementptr inbounds [5 x i8]* @.str5, i64 0, i64 0 + %x = getelementptr inbounds [5 x i8], [5 x i8]* @.str5, i64 0, i64 0 %ret = call i64 @strtoll(i8* %x, i8** %y, i32 10) ret i64 %ret ; CHECK: call i64 @strtoll @@ -225,7 +225,7 @@ define i64 @t22(i8** %y) { define i64 @t23(i8** %y) { ; CHECK-LABEL: @t23( - %x = getelementptr inbounds [5 x i8]* @.str5, i64 0, i64 0 + %x = getelementptr inbounds [5 x i8], [5 x i8]* @.str5, i64 0, i64 0 %ret = call i64 @strtoul(i8* %x, i8** %y, i32 10) ret i64 %ret ; CHECK: call i64 @strtoul @@ -233,7 +233,7 @@ define i64 @t23(i8** %y) { define i64 @t24(i8** %y) { ; CHECK-LABEL: @t24( - %x = getelementptr inbounds [5 x i8]* @.str5, i64 0, i64 0 + %x = getelementptr inbounds [5 x i8], [5 x i8]* @.str5, i64 0, i64 0 %ret = call i64 @strtoull(i8* %x, i8** %y, i32 10) ret i64 %ret ; CHECK: call i64 @strtoull @@ -241,7 +241,7 @@ define i64 @t24(i8** %y) { define i64 @t25(i8* %y) { ; CHECK-LABEL: @t25( - %x = getelementptr [1 x i8]* @empty, i32 0, i32 0 + %x = getelementptr [1 x i8], [1 x i8]* @empty, i32 0, i32 0 %ret = call i64 @strcspn(i8* %x, i8* %y) ret i64 %ret ; CHECK: call i64 @strcspn @@ -277,7 +277,7 @@ define i32 @t29(i64 %y) { define void @t30() { ; CHECK-LABEL: @t30( - %x = getelementptr inbounds [13 x i8]* @.str1, i32 0, i32 0 + %x = getelementptr inbounds [13 x i8], [13 x i8]* @.str1, i32 0, i32 0 call i32 @fprintf(i8* null, i8* %x) ret void ; CHECK: call i32 @fprintf @@ -320,7 +320,7 @@ define i64 @t35(i64 %y) { define void @t36() { ; CHECK-LABEL: @t36( - %x = getelementptr inbounds [1 x i8]* @empty, i32 0, i32 0 + %x = getelementptr inbounds [1 x i8], [1 x i8]* @empty, i32 0, i32 0 call i32 @printf(i8* %x) ret void ; CHECK: call i32 @printf @@ -328,7 +328,7 @@ define void @t36() { define void @t37(i8* %x) { ; CHECK-LABEL: @t37( - %y = getelementptr inbounds [13 x i8]* @.str1, i32 0, i32 0 + %y = getelementptr inbounds [13 x i8], [13 x i8]* @.str1, i32 0, i32 0 call i32 @sprintf(i8* %x, i8* %y) ret void ; CHECK: call i32 @sprintf |