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