From 90e62de4e9b97a1b4c9386fbd16daad64f17a0a9 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 llvm-svn: 18370 --- .../Regression/CodeGen/PowerPC/2004-11-30-shift-crash.ll | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shift-crash.ll diff --git a/llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shift-crash.ll b/llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shift-crash.ll new file mode 100644 index 000000000000..9c611649e6a8 --- /dev/null +++ b/llvm/test/Regression/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 +} -- GitLab