Chromium Code Reviews| Index: tests_lit/assembler/arm32/ret.ll |
| diff --git a/tests_lit/assembler/arm32/ret.ll b/tests_lit/assembler/arm32/ret.ll |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..2f93a47a71b8665c7d2f7a50cbe0a85d9190f176 |
| --- /dev/null |
| +++ b/tests_lit/assembler/arm32/ret.ll |
| @@ -0,0 +1,36 @@ |
| +; Shows that the ARM integrated assembler can translate a trivial, |
| +; bundle-aligned function. |
| + |
| +; RUN: %p2i --filetype=asm -i %s --target=arm32 \ |
| +; RUN: | FileCheck %s --check-prefix=ASM |
| +; RUN: %p2i --filetype=iasm -i %s --target=arm32 \ |
| +; RUN: | FileCheck %s --check-prefix=IASM |
| + |
| +define internal void @f() { |
| + ret void |
| +} |
| + |
| +; ASM: f: |
|
Jim Stichnoth
2015/10/08 23:50:41
Can this be ASM-LABEL ?
(same with IASM-LABEL belo
Karl
2015/10/09 19:08:18
Done.
|
| +; ASM-NEXT: .Lf$__0: |
| +; ASM-NEXT: bx lr |
| + |
| +; IASM: 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 |