From: Owen Anderson Date: Tue, 12 Jun 2007 16:56:00 +0000 (+0000) Subject: Testcase where GVNPRE crashes on functions with no exit nodes. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=93f905daef8054434defbb3b01d3a5e9e9be6dc8;p=oota-llvm.git 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 --- diff --git a/test/Transforms/GVNPRE/2007-06-12-NoExit.ll b/test/Transforms/GVNPRE/2007-06-12-NoExit.ll new file mode 100644 index 00000000000..b93a956b2f1 --- /dev/null +++ b/test/Transforms/GVNPRE/2007-06-12-NoExit.ll @@ -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 +}