Testcase that crashes the PPC backend. Thanks to Rob for finding this.
llvm-svn: 19554
diff --git a/llvm/test/Regression/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll b/llvm/test/Regression/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
new file mode 100644
index 0000000..fe2dcf5
--- /dev/null
+++ b/llvm/test/Regression/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
@@ -0,0 +1,8 @@
+; RUN: llvm-as < %s | llc -march=ppc32
+
+int %main() {
+ %setle = setle long 1, 0
+ %select = select bool true, bool %setle, bool true
+ ret int 0
+}
+