mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-03 01:12:53 +00:00
60c8fa6bb9
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150014 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
439 B
LLVM
18 lines
439 B
LLVM
; RUN: llc < %s -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=armv7-apple-ios | FileCheck %s --check-prefix=ARM
|
|
; RUN: llc < %s -O0 -fast-isel-abort -relocation-model=dynamic-no-pic -mtriple=thumbv7-apple-ios | FileCheck %s --check-prefix=THUMB
|
|
|
|
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
|
|
}
|