Testcase where GVNPRE crashes on functions with no exit nodes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37555 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2007-06-12 16:56:00 +00:00
parent ce0b23721e
commit 93f905daef

View File

@ -0,0 +1,9 @@
; RUN: llvm-as < %s | opt -gvnpre | llvm-dis
define void @_Z4sortI3Lit16LessThan_defaultIS0_EEvPT_iT0_() {
entry:
br label %cond_false
cond_false: ; preds = %cond_false, %entry
br label %cond_false
}