2012-11-27 21:49:56 +01:00
|
|
|
; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios | FileCheck %s --check-prefix=ARM
|
2013-06-14 04:49:43 +02:00
|
|
|
; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-linux-gnueabi | FileCheck %s --check-prefix=ARM
|
2012-11-27 21:49:56 +01:00
|
|
|
; RUN: llc < %s -O0 -verify-machineinstrs -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB
|
2012-02-08 00:56:08 +01:00
|
|
|
|
|
|
|
define void @t1(i8* %x) {
|
|
|
|
entry:
|
|
|
|
; ARM: t1
|
|
|
|
; THUMB: t1
|
|
|
|
br label %L0
|
|
|
|
|
|
|
|
L0:
|
|
|
|
br label %L1
|
|
|
|
|
|
|
|
L1:
|
|
|
|
indirectbr i8* %x, [ label %L0, label %L1 ]
|
|
|
|
; ARM: bx r0
|
|
|
|
; THUMB: mov pc, r0
|
|
|
|
}
|