| ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py | |
| ; RUN: llc %s -o - -mtriple=thumbv7em-apple-none-macho -float-abi=soft | FileCheck %s --check-prefix=THUMB2 | |
| ; RUN: llc %s -o - -mtriple=thumbv7em-apple-none-macho -float-abi=soft -mcpu=cortex-m23 | FileCheck %s --check-prefix=V8M-BASE | |
| declare void @callee() | |
| define void @tail_call() { | |
| ; THUMB2-LABEL: tail_call: | |
| ; THUMB2: @ %bb.0: | |
| ; THUMB2-NEXT: b.w _callee | |
| ; | |
| ; V8M-BASE-LABEL: tail_call: | |
| ; V8M-BASE: @ %bb.0: | |
| ; V8M-BASE-NEXT: b.w _callee | |
| tail call void @callee() | |
| ret void | |
| } |