Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(824)

Unified Diff: tests_lit/llvm2ice_tests/alloc.ll

Issue 1465213002: Subzero. ARM32. Combine allocas. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests_lit/assembler/arm32/bic.ll ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/alloc.ll
diff --git a/tests_lit/llvm2ice_tests/alloc.ll b/tests_lit/llvm2ice_tests/alloc.ll
index 7b08afb0788314cc0c58f54610fd295937b483da..c90b6780b6e5b2a7c39f56e9a4f9503cab588360 100644
--- a/tests_lit/llvm2ice_tests/alloc.ll
+++ b/tests_lit/llvm2ice_tests/alloc.ll
@@ -17,14 +17,14 @@
; RUN: --disassemble --target arm32 -i %s --args -O2 --skip-unimplemented \
; RUN: -allow-externally-defined-symbols \
; RUN: | %if --need=target_ARM32 --need=allow_dump \
-; RUN: --command FileCheck --check-prefix ARM32 %s
+; RUN: --command FileCheck --check-prefix ARM32 --check-prefix=ARM-OPT2 %s
; RUN: %if --need=target_ARM32 --need=allow_dump \
; RUN: --command %p2i --filetype=asm --assemble \
; RUN: --disassemble --target arm32 -i %s --args -Om1 --skip-unimplemented \
; RUN: -allow-externally-defined-symbols \
; RUN: | %if --need=target_ARM32 --need=allow_dump \
-; RUN: --command FileCheck --check-prefix ARM32 %s
+; RUN: --command FileCheck --check-prefix ARM32 --check-prefix=ARM-OPTM1 %s
define internal void @fixed_416_align_16(i32 %n) {
entry:
@@ -47,8 +47,9 @@ entry:
; CHECK-OPTM1: call {{.*}} R_{{.*}} f1
; ARM32-LABEL: fixed_416_align_16
-; ARM32: sub sp, sp, #416
-; ARM32: bl {{.*}} R_{{.*}} f1
+; ARM32-OPT2: sub sp, sp, #428
+; ARM32-OPTM1: sub sp, sp, #416
+; ARM32: bl {{.*}} R_{{.*}} f1
define internal void @fixed_416_align_32(i32 %n) {
entry:
@@ -67,9 +68,10 @@ entry:
; CHECK: call {{.*}} R_{{.*}} f1
; ARM32-LABEL: fixed_416_align_32
-; ARM32: bic sp, sp, #31
-; ARM32: sub sp, sp, #416
-; ARM32: bl {{.*}} R_{{.*}} f1
+; ARM32-OPT2: sub sp, sp, #424
+; ARM32-OPTM1: sub sp, sp, #416
+; ARM32: bic sp, sp, #31
+; ARM32: bl {{.*}} R_{{.*}} f1
; Show that the amount to allocate will be rounded up.
define internal void @fixed_351_align_16(i32 %n) {
@@ -91,8 +93,9 @@ entry:
; CHECK-OPTM1: call {{.*}} R_{{.*}} f1
; ARM32-LABEL: fixed_351_align_16
-; ARM32: sub sp, sp, #352
-; ARM32: bl {{.*}} R_{{.*}} f1
+; ARM32-OPT2: sub sp, sp, #364
+; ARM32-OPTM1: sub sp, sp, #352
+; ARM32: bl {{.*}} R_{{.*}} f1
define internal void @fixed_351_align_32(i32 %n) {
entry:
@@ -111,9 +114,10 @@ entry:
; CHECK: call {{.*}} R_{{.*}} f1
; ARM32-LABEL: fixed_351_align_32
-; ARM32: bic sp, sp, #31
-; ARM32: sub sp, sp, #352
-; ARM32: bl {{.*}} R_{{.*}} f1
+; ARM32-OPT2: sub sp, sp, #360
+; ARM32-OPTM1: sub sp, sp, #352
+; ARM32: bic sp, sp, #31
+; ARM32: bl {{.*}} R_{{.*}} f1
declare void @f1(i32 %ignored)
« no previous file with comments | « tests_lit/assembler/arm32/bic.ll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698