From b28f0ef40a537f6b8d2f6d44caa2080f2d58c744 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 15 Jun 2005 20:52:39 +0000 Subject: [PATCH] new testcase for PR577 llvm-svn: 22216 --- .../Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 llvm/test/Regression/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll diff --git a/llvm/test/Regression/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll b/llvm/test/Regression/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll new file mode 100644 index 000000000000..fed675e318fa --- /dev/null +++ b/llvm/test/Regression/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | opt -instcombine -disable-output +; PR577 + +bool %test() { + %tmp.3 = shl int 0, ubyte 41 ; [#uses=1] + %tmp.4 = setne int %tmp.3, 0 ; [#uses=1] + ret bool %tmp.4 +}