Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | opt -adce -disable-output |
2 | |||||
3 | void %test() { | ||||
4 | entry: | ||||
5 | br label %UnifiedReturnBlock | ||||
6 | |||||
7 | UnifiedReturnBlock: | ||||
8 | ret void | ||||
9 | |||||
10 | invoke_catch.0: ; No predecessors! | ||||
11 | br bool false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock | ||||
12 | |||||
13 | UnifiedUnwindBlock: ; preds = %invoke_catch.0 | ||||
14 | unwind | ||||
15 | |||||
16 | } |