[NFC][RemoveDIs] Prefer iterators over inst-pointers in InstCombine
[llvm-project.git] / llvm / test / CodeGen / Hexagon / getBlockAddress.ll
blob07d9b19ec4904c1fcc30e2e92281a81346a2f912
1 ; RUN: llc -march=hexagon < %s
2 ; REQUIRES: asserts
4 ; Function Attrs: nounwind
5 define void @f0() #0 {
6 b0:
7   call void @f1(ptr blockaddress(@f0, %b1))
8   br label %b1
10 b1:                                               ; preds = %b2, %b0
11   ret void
13 b2:                                               ; No predecessors!
14   indirectbr ptr undef, [label %b1]
17 declare void @f1(...)
19 attributes #0 = { nounwind }