Revert r182937 and r182877.
[oota-llvm.git] / test / CodeGen / ARM / fast-isel-indirectbr.ll
1 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios | FileCheck %s --check-prefix=ARM
2 ; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB
3
4 define void @t1(i8* %x) {
5 entry:
6 ; ARM: t1
7 ; THUMB: t1
8   br label %L0
9
10 L0:
11   br label %L1
12
13 L1:
14   indirectbr i8* %x, [ label %L0, label %L1 ]
15 ; ARM: bx r0
16 ; THUMB: mov pc, r0
17 }