Testcase that crashes the PPC backend. Thanks to Rob for finding this.
authorChris Lattner <sabre@nondot.org>
Fri, 14 Jan 2005 19:30:42 +0000 (19:30 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 14 Jan 2005 19:30:42 +0000 (19:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19554 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll [new file with mode: 0644]

diff --git a/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll b/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll
new file mode 100644 (file)
index 0000000..fe2dcf5
--- /dev/null
@@ -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
+}
+