blob: 2456ef44204069c7fa53fcbc3331dc5c1a4d2db5 [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
JF Bastien18db1f22013-06-14 02:49:43 +00002; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-linux-gnueabi | FileCheck %s --check-prefix=ARM
Chad Rosier45c33c92012-11-27 20:49:56 +00003; 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 +00004
5define void @t1(i8* %x) {
6entry:
7; ARM: t1
8; THUMB: t1
9 br label %L0
10
11L0:
12 br label %L1
13
14L1:
15 indirectbr i8* %x, [ label %L0, label %L1 ]
16; ARM: bx r0
17; THUMB: mov pc, r0
18}