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

Unified Diff: tests_lit/assembler/arm32/bic.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 | « src/IceTargetLoweringARM32.cpp ('k') | tests_lit/llvm2ice_tests/alloc.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/assembler/arm32/bic.ll
diff --git a/tests_lit/assembler/arm32/bic.ll b/tests_lit/assembler/arm32/bic.ll
index 8d50c27ef92e0860b8e8d195576e5c6c7c0bcde0..2849a74304313c5b9d2ac822dbc0af8badb629d7 100644
--- a/tests_lit/assembler/arm32/bic.ll
+++ b/tests_lit/assembler/arm32/bic.ll
@@ -28,70 +28,65 @@ define internal i32 @AllocBigAlign() {
; ASM-LABEL:AllocBigAlign:
; ASM-NEXT:.LAllocBigAlign$__0:
-; ASM-NEXT: push {fp}
-; ASM-NEXT: mov fp, sp
-; ASM-NEXT: sub sp, sp, #12
-; ASM-NEXT: bic sp, sp, #31
-; ASM-NEXT: sub sp, sp, #32
-; ASM-NEXT: mov r0, sp
-; ASM-NEXT: mov sp, fp
-; ASM-NEXT: pop {fp}
-; ASM-NEXT: # fp = def.pseudo
-; ASM-NEXT: bx lr
-
; DIS-LABEL:00000000 <AllocBigAlign>:
-; DIS-NEXT: 0: e52db004
-; DIS-NEXT: 4: e1a0b00d
-; DIS-NEXT: 8: e24dd00c
-; DIS-NEXT: c: e3cdd01f
-; DIS-NEXT: 10: e24dd020
-; DIS-NEXT: 14: e1a0000d
-; DIS-NEXT: 18: e1a0d00b
-; DIS-NEXT: 1c: e49db004
-; DIS-NEXT: 20: e12fff1e
-
; IASM-LABEL:AllocBigAlign:
; IASM-NEXT:.LAllocBigAlign$__0:
+
+; ASM-NEXT: push {fp}
+; DIS-NEXT: 0: e52db004
; IASM-NEXT: .byte 0x4
; IASM-NEXT: .byte 0xb0
; IASM-NEXT: .byte 0x2d
; IASM-NEXT: .byte 0xe5
+; ASM-NEXT: mov fp, sp
+; DIS-NEXT: 4: e1a0b00d
; IASM: .byte 0xd
; IASM-NEXT: .byte 0xb0
; IASM-NEXT: .byte 0xa0
; IASM-NEXT: .byte 0xe1
-; IASM: .byte 0xc
+; ASM-NEXT: sub sp, sp, #32
+; DIS-NEXT: 8: e24dd020
+; IASM: .byte 0x20
; IASM-NEXT: .byte 0xd0
; IASM-NEXT: .byte 0x4d
; IASM-NEXT: .byte 0xe2
+; ASM-NEXT: bic sp, sp, #31
+; DIS-NEXT: c: e3cdd01f
; IASM: .byte 0x1f
; IASM-NEXT: .byte 0xd0
; IASM-NEXT: .byte 0xcd
; IASM-NEXT: .byte 0xe3
-; IASM: .byte 0x20
-; IASM-NEXT: .byte 0xd0
-; IASM-NEXT: .byte 0x4d
-; IASM-NEXT: .byte 0xe2
+; ASM-NEXT: # sp = def.pseudo
-; IASM: .byte 0xd
+; ASM-NEXT: add r0, sp, #0
+; DIS-NEXT: 10: e28d0000
+; IASM: .byte 0x0
; IASM-NEXT: .byte 0x0
-; IASM-NEXT: .byte 0xa0
-; IASM-NEXT: .byte 0xe1
+; IASM-NEXT: .byte 0x8d
+; IASM-NEXT: .byte 0xe2
+; ASM-NEXT: mov sp, fp
+; DIS-NEXT: 14: e1a0d00b
; IASM: .byte 0xb
; IASM-NEXT: .byte 0xd0
; IASM-NEXT: .byte 0xa0
; IASM-NEXT: .byte 0xe1
+; ASM-NEXT: pop {fp}
+; DIS-NEXT: 18: e49db004
; IASM-NEXT: .byte 0x4
; IASM-NEXT: .byte 0xb0
; IASM-NEXT: .byte 0x9d
; IASM-NEXT: .byte 0xe4
+; ASM-NEXT: # fp = def.pseudo
+
+; ASM-NEXT: bx lr
+; DIS-NEXT: 1c: e12fff1e
; IASM: .byte 0x1e
; IASM-NEXT: .byte 0xff
; IASM-NEXT: .byte 0x2f
« no previous file with comments | « src/IceTargetLoweringARM32.cpp ('k') | tests_lit/llvm2ice_tests/alloc.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698