[llvm-commits] CVS: llvm/test/Transforms/GVNPRE/2007-06-12-NoExit.ll
Owen Anderson
resistor at mac.com
Tue Jun 12 09:56:22 PDT 2007
Changes in directory llvm/test/Transforms/GVNPRE:
2007-06-12-NoExit.ll added (r1.1)
---
Log message:
Testcase where GVNPRE crashes on functions with no exit nodes.
---
Diffs of the changes: (+9 -0)
2007-06-12-NoExit.ll | 9 +++++++++
1 files changed, 9 insertions(+)
Index: llvm/test/Transforms/GVNPRE/2007-06-12-NoExit.ll
diff -c /dev/null llvm/test/Transforms/GVNPRE/2007-06-12-NoExit.ll:1.1
*** /dev/null Tue Jun 12 11:56:10 2007
--- llvm/test/Transforms/GVNPRE/2007-06-12-NoExit.ll Tue Jun 12 11:56:00 2007
***************
*** 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
+ }
More information about the llvm-commits
mailing list