llvm-6502/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll
Eli Friedman a8ba2c25e9 PR4317: Handle splits where the new block is unreachable correctly in
DominatorTreeBase::Split.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72810 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 21:42:06 +00:00

16 lines
168 B
LLVM

; RUN: llvm-as < %s | llc
; PR4317
declare i32 @b()
define void @a() {
entry:
ret void
dummy:
invoke i32 @b() to label %reg unwind label %reg
reg:
ret void
}