Mercurial > hg > CbC > CbC_llvm
view llvm/test/Transforms/ADCE/2004-05-04-UnreachableBlock.ll @ 201:a96fbbdf2d0f
...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 04 Jun 2021 21:07:06 +0900 |
parents | 1d019706d866 |
children | c4bab56944e8 |
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 }