[llvm-commits] CVS: llvm/test/Regression/CodeGen/Generic/2006-10-27-CondFolding.ll
Chris Lattner
sabre at nondot.org
Fri Oct 27 16:47:48 PDT 2006
Changes in directory llvm/test/Regression/CodeGen/Generic:
2006-10-27-CondFolding.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+21 -0)
2006-10-27-CondFolding.ll | 21 +++++++++++++++++++++
1 files changed, 21 insertions(+)
Index: llvm/test/Regression/CodeGen/Generic/2006-10-27-CondFolding.ll
diff -c /dev/null llvm/test/Regression/CodeGen/Generic/2006-10-27-CondFolding.ll:1.1
*** /dev/null Fri Oct 27 18:47:44 2006
--- llvm/test/Regression/CodeGen/Generic/2006-10-27-CondFolding.ll Fri Oct 27 18:47:34 2006
***************
*** 0 ****
--- 1,21 ----
+ ; RUN: llvm-as < %s | llc
+
+ void %start_pass_huff(int %gather_statistics) {
+ entry:
+ %tmp = seteq int %gather_statistics, 0 ; <bool> [#uses=1]
+ br bool false, label %cond_next22, label %bb166
+
+ cond_next22: ; preds = %entry
+ %bothcond = and bool false, %tmp ; <bool> [#uses=1]
+ br bool %bothcond, label %bb34, label %bb46
+
+ bb34: ; preds = %cond_next22
+ ret void
+
+ bb46: ; preds = %cond_next22
+ ret void
+
+ bb166: ; preds = %entry
+ ret void
+ }
+
More information about the llvm-commits
mailing list