From 557671951fd4f0502834e6bf3795f24dc7cc5963 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 14 Jan 2005 19:30:42 +0000 Subject: [PATCH] Testcase that crashes the PPC backend. Thanks to Rob for finding this. 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 | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll diff --git a/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll b/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll new file mode 100644 index 00000000000..fe2dcf536bc --- /dev/null +++ b/test/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 +} +