From 93e6d8329c94b4f107150c29b1a6b535156c8608 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 30 Nov 2004 06:28:53 +0000 Subject: [PATCH] New testcase that crashes the PPC backend git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18370 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/2004-11-30-shift-crash.ll | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 test/CodeGen/PowerPC/2004-11-30-shift-crash.ll diff --git a/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll b/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll new file mode 100644 index 00000000000..9c611649e6a --- /dev/null +++ b/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s | llc -march=ppc32 + +void %main() { + %tr4 = shl ulong 1, ubyte 0 ; [#uses=0] + ret void +}