[llvm-commits] CVS: llvm/test/Regression/Transforms/ADCE/2004-05-04-UnreachableBlock.llx
Chris Lattner
lattner at cs.uiuc.edu
Tue May 4 12:00:02 PDT 2004
Changes in directory llvm/test/Regression/Transforms/ADCE:
2004-05-04-UnreachableBlock.llx added (r1.1)
---
Log message:
New testcase for PR332: http://llvm.cs.uiuc.edu/PR332
---
Diffs of the changes: (+16 -0)
Index: llvm/test/Regression/Transforms/ADCE/2004-05-04-UnreachableBlock.llx
diff -c /dev/null llvm/test/Regression/Transforms/ADCE/2004-05-04-UnreachableBlock.llx:1.1
*** /dev/null Tue May 4 12:00:20 2004
--- llvm/test/Regression/Transforms/ADCE/2004-05-04-UnreachableBlock.llx Tue May 4 12:00:10 2004
***************
*** 0 ****
--- 1,16 ----
+ ; RUN: llvm-as < %s | opt -adce -disable-output
+
+ void %test() {
+ entry:
+ br label %UnifiedReturnBlock
+
+ UnifiedReturnBlock:
+ ret void
+
+ invoke_catch.0: ; No predecessors!
+ br bool false, label %UnifiedUnwindBlock, label %UnifiedReturnBlock
+
+ UnifiedUnwindBlock: ; preds = %invoke_catch.0
+ unwind
+
+ }
More information about the llvm-commits
mailing list