2013-04-08 18:41:23 +00:00
|
|
|
; 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
|
2013-12-22 00:04:03 +00:00
|
|
|
}
|