blob: ebc0e8426d555b0a858e83151aa6bf10785a45e9 [file] [log] [blame]
Chad Rosier45c33c92012-11-27 20:49:56 +00001; 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
Chad Rosierded4c992012-02-07 23:56:08 +00003
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}