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) |