mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-22 23:31:32 +00:00
b6716187ca
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176637 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
249 B
LLVM
14 lines
249 B
LLVM
; RUN: llc -march=hexagon < %s | FileCheck %s
|
|
|
|
;CHECK: jumpr r{{[0-9]+}}
|
|
|
|
define i32 @check_indirect_br(i8* %target) nounwind {
|
|
entry:
|
|
indirectbr i8* %target, [label %test_label]
|
|
|
|
test_label:
|
|
br label %ret
|
|
|
|
ret:
|
|
ret i32 -1
|
|
} |