blob: be8035ec794d5c46594edeb24ed93b99ac7699fa [file] [log] [blame]
Chad Rosier60c8fa62012-02-07 23:56:08 +00001; RUN: llc < %s -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios | FileCheck %s --check-prefix=ARM
2; RUN: llc < %s -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB
3
4define void @t1(i8* %x) {
5entry:
6; ARM: t1
7; THUMB: t1
8 br label %L0
9
10L0:
11 br label %L1
12
13L1:
14 indirectbr i8* %x, [ label %L0, label %L1 ]
15; ARM: bx r0
16; THUMB: mov pc, r0
17}