mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
New testcase for PR332
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13348 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc0bedcd25
commit
b71ebdf03c
16
test/Transforms/ADCE/2004-05-04-UnreachableBlock.llx
Normal file
16
test/Transforms/ADCE/2004-05-04-UnreachableBlock.llx
Normal file
@ -0,0 +1,16 @@
|
||||
; RUN: llvm-as < %s | opt -adce -disable-output
|
||||
|
||||
void %test() {
|
||||
entry:
|
||||
br label %UnifiedReturnBlock
|
||||
|
||||
UnifiedReturnBlock:
|
||||
ret void
|
||||
|
||||
invoke_catch.0: ; No predecessors!
|
||||
br bool false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock
|
||||
|
||||
UnifiedUnwindBlock: ; preds = %invoke_catch.0
|
||||
unwind
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user