Testcase where GVNPRE crashes on functions with no exit nodes.

llvm-svn: 37555
This commit is contained in:
Owen Anderson 2007-06-12 16:56:00 +00:00
parent edfec0b515
commit 6d1df658c0
1 changed files with 9 additions and 0 deletions

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
}