Mercurial > hg > CbC > CbC_llvm
annotate test/Transforms/ADCE/2004-05-04-UnreachableBlock.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children | 803732b1fca8 |
rev | line source |
---|---|
0 | 1 ; RUN: opt < %s -adce -disable-output |
2 | |
3 define void @test() { | |
4 entry: | |
5 br label %UnifiedReturnBlock | |
6 | |
7 UnifiedReturnBlock: ; preds = %invoke_catch.0, %entry | |
8 ret void | |
9 | |
10 invoke_catch.0: ; No predecessors! | |
11 br i1 false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock | |
12 | |
13 UnifiedUnwindBlock: ; preds = %invoke_catch.0 | |
14 unreachable | |
15 } | |
16 |