From: Chris Lattner Date: Tue, 30 Nov 2004 06:39:45 +0000 (+0000) Subject: New testcase that crashes the PPC BE X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=aac2d44bc344d99beac5c5e05d9f780d7ad0542e;p=oota-llvm.git New testcase that crashes the PPC BE git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18375 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 +}