From aac2d44bc344d99beac5c5e05d9f780d7ad0542e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 30 Nov 2004 06:39:45 +0000 Subject: [PATCH] New testcase that crashes the PPC BE git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18375 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll diff --git a/test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll b/test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll new file mode 100644 index 00000000000..e768753d810 --- /dev/null +++ b/test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=ppc32 + +void %main() { + %shamt = add ubyte 0, 1 ; [#uses=1] + %tr2 = shr long 1, ubyte %shamt ; [#uses=0] + ret void +}