blob: 923780edaccf42fde2f136f74d029abfbab77a4f [file] [log] [blame]
Krzysztof Parzyszek046090d2018-03-12 14:01:28 +00001; RUN: llc -march=hexagon < %s
2; REQUIRES: asserts
3
4; Function Attrs: nounwind
5define void @f0() #0 {
6b0:
7 call void bitcast (void (...)* @f1 to void (i8*)*)(i8* blockaddress(@f0, %b1))
8 br label %b1
9
10b1: ; preds = %b2, %b0
11 ret void
12
13b2: ; No predecessors!
14 indirectbr i8* undef, [label %b1]
15}
16
17declare void @f1(...)
18
19attributes #0 = { nounwind }