view test/CodeGen/Hexagon/indirect-br.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 95c75e76d11b
children
line wrap: on
line source

; 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
}