[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / Hexagon / indirect-br.ll
blob781481954f4e0627092bb1ab08782eff8b072139
1 ; RUN: llc -march=hexagon -hexagon-initial-cfg-cleanup=0 < %s | FileCheck %s
3 ; CHECK: jumpr r{{[0-9]+}}
5 define i32 @check_indirect_br(ptr %target) nounwind {
6 entry:
7   indirectbr ptr %target, [label %test_label]
9 test_label:
10   br label %ret
12 ret:
13   ret i32 -1