[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2006-12-07-SelectCrash.ll
Chris Lattner
sabre at nondot.org
Thu Dec 7 14:36:29 PST 2006
Changes in directory llvm/test/Regression/CodeGen/PowerPC:
2006-12-07-SelectCrash.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+27 -0)
2006-12-07-SelectCrash.ll | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+)
Index: llvm/test/Regression/CodeGen/PowerPC/2006-12-07-SelectCrash.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/2006-12-07-SelectCrash.ll:1.1
*** /dev/null Thu Dec 7 16:36:24 2006
--- llvm/test/Regression/CodeGen/PowerPC/2006-12-07-SelectCrash.ll Thu Dec 7 16:36:14 2006
***************
*** 0 ****
--- 1,27 ----
+ ; RUN: llvm-as < %s | llc -march=ppc64 &&
+ ; RUN: llvm-as < %s | llc -march=ppc32 &&
+ ; RUN: llvm-as < %s | llc
+
+ %qsz.b = external global bool ; <bool*> [#uses=1]
+
+ implementation ; Functions:
+
+ fastcc void %qst() {
+ entry:
+ br bool true, label %cond_next71, label %cond_true
+
+ cond_true: ; preds = %entry
+ ret void
+
+ cond_next71: ; preds = %entry
+ %tmp73.b = load bool* %qsz.b ; <bool> [#uses=1]
+ %ii.4.ph = select bool %tmp73.b, ulong 4, ulong 0 ; <ulong> [#uses=1]
+ br label %bb139
+
+ bb82: ; preds = %bb139
+ ret void
+
+ bb139: ; preds = %bb139, %cond_next71
+ %exitcond89 = seteq ulong 0, %ii.4.ph ; <bool> [#uses=1]
+ br bool %exitcond89, label %bb82, label %bb139
+ }
More information about the llvm-commits
mailing list