| Mehdi Amini | 945a660 | 2015-02-27 18:32:11 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios | FileCheck %s --check-prefix=ARM |
| 2 | ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=armv7-linux-gnueabi | FileCheck %s --check-prefix=ARM |
| 3 | ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort=1 -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB |
| Chad Rosier | ded4c99 | 2012-02-07 23:56:08 +0000 | [diff] [blame] | 4 | |
| 5 | define void @t1(i8* %x) { |
| 6 | entry: |
| 7 | ; ARM: t1 |
| 8 | ; THUMB: t1 |
| 9 | br label %L0 |
| 10 | |
| 11 | L0: |
| 12 | br label %L1 |
| 13 | |
| 14 | L1: |
| 15 | indirectbr i8* %x, [ label %L0, label %L1 ] |
| 16 | ; ARM: bx r0 |
| 17 | ; THUMB: mov pc, r0 |
| 18 | } |