Mercurial > hg > CbC > CbC_llvm
view test/Transforms/ADCE/2004-05-04-UnreachableBlock.ll @ 121:803732b1fca8
LLVM 5.0
author | kono |
---|---|
date | Fri, 27 Oct 2017 17:07:41 +0900 |
parents | 95c75e76d11b |
children |
line wrap: on
line source
; RUN: opt < %s -adce -disable-output ; RUN: opt < %s -adce -adce-remove-loops -disable-output define void @test() { entry: br label %UnifiedReturnBlock UnifiedReturnBlock: ; preds = %invoke_catch.0, %entry ret void invoke_catch.0: ; No predecessors! br i1 false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock UnifiedUnwindBlock: ; preds = %invoke_catch.0 unreachable }