| Index: tests_lit/assembler/arm32/ret.ll
|
| diff --git a/tests_lit/assembler/arm32/ret.ll b/tests_lit/assembler/arm32/ret.ll
|
| index 95fce9771234b5e5b9b4bd2302cedc4031948139..5df61d4f3fa2fb3c86a877b0e678d95335c0e47c 100644
|
| --- a/tests_lit/assembler/arm32/ret.ll
|
| +++ b/tests_lit/assembler/arm32/ret.ll
|
| @@ -3,36 +3,63 @@
|
|
|
| ; REQUIRES: allow_dump
|
|
|
| -; RUN: %p2i --filetype=asm -i %s --target=arm32 \
|
| +; Compile using standalone assembler.
|
| +; RUN: %p2i --filetype=asm -i %s --target=arm32 --args -Om1 \
|
| ; RUN: | FileCheck %s --check-prefix=ASM
|
| -; RUN: %p2i --filetype=iasm -i %s --target=arm32 \
|
| +
|
| +; Show bytes in assembled standalone code.
|
| +; RUN: %p2i --filetype=asm -i %s --target=arm32 --assemble --disassemble \
|
| +; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS
|
| +
|
| +; Compile using integrated assembler.
|
| +; RUN: %p2i --filetype=iasm -i %s --target=arm32 --args -Om1 \
|
| ; RUN: | FileCheck %s --check-prefix=IASM
|
|
|
| +; Show bytes in assembled integrated code.
|
| +; RUN: %p2i --filetype=iasm -i %s --target=arm32 --assemble --disassemble \
|
| +; RUN: --args -Om1 | FileCheck %s --check-prefix=DIS
|
| +
|
| define internal void @f() {
|
| ret void
|
| }
|
|
|
| ; ASM-LABEL:f:
|
| ; ASM-NEXT: .Lf$__0:
|
| -; ASM-NEXT: bx lr
|
| +; ASM-NEXT: bx lr
|
| +
|
|
|
| +
|
| +; DIS-LABEL:00000000 <f>:
|
| ; IASM-LABEL:f:
|
| -; IASM-NEXT: .byte 0x1e
|
| -; IASM-NEXT: .byte 0xff
|
| -; IASM-NEXT: .byte 0x2f
|
| -; IASM-NEXT: .byte 0xe1
|
| -
|
| -; IASM-NEXT: .byte 0x70
|
| -; IASM-NEXT: .byte 0x0
|
| -; IASM-NEXT: .byte 0x20
|
| -; IASM-NEXT: .byte 0xe1
|
| -
|
| -; IASM-NEXT: .byte 0x70
|
| -; IASM-NEXT: .byte 0x0
|
| -; IASM-NEXT: .byte 0x20
|
| -; IASM-NEXT: .byte 0xe1
|
| -
|
| -; IASM-NEXT: .byte 0x70
|
| -; IASM-NEXT: .byte 0x0
|
| -; IASM-NEXT: .byte 0x20
|
| -; IASM-NEXT: .byte 0xe1
|
| +
|
| +; DIS-NEXT: 0: e12fff1e
|
| +; IASM-NEXT: .byte 0x1e
|
| +; IASM-NEXT: .byte 0xff
|
| +; IASM-NEXT: .byte 0x2f
|
| +; IASM-NEXT: .byte 0xe1
|
| +
|
| +; DIS-NEXT: 4: e7fedef0
|
| +; IASM-NEXT: .byte 0xf0
|
| +; IASM-NEXT: .byte 0xde
|
| +; IASM-NEXT: .byte 0xfe
|
| +; IASM-NEXT: .byte 0xe7
|
| +
|
| +; DIS-NEXT: 8: e7fedef0
|
| +; IASM-NEXT: .byte 0xf0
|
| +; IASM-NEXT: .byte 0xde
|
| +; IASM-NEXT: .byte 0xfe
|
| +; IASM-NEXT: .byte 0xe7
|
| +
|
| +; DIS-NEXT: c: e7fedef0
|
| +; IASM-NEXT: .byte 0xf0
|
| +; IASM-NEXT: .byte 0xde
|
| +; IASM-NEXT: .byte 0xfe
|
| +; IASM-NEXT: .byte 0xe7
|
| +
|
| +define internal void @ignore() {
|
| + ret void
|
| +}
|
| +
|
| +; ASM-LABEL:ignore:
|
| +; DIS-LABEL:00000010 <ignore>:
|
| +; IASM-LABEL:ignore:
|
|
|