From: Chris Lattner Date: Fri, 17 Jun 2005 02:04:47 +0000 (+0000) Subject: new testcase for PR585 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=98b4d598611ffd6de0ce2cbf80ac43cae1dd805d;p=oota-llvm.git new testcase for PR585 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22233 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Transforms/InstCombine/2005-06-16-RangeCrash.ll b/test/Transforms/InstCombine/2005-06-16-RangeCrash.ll new file mode 100644 index 00000000000..a586d87cac9 --- /dev/null +++ b/test/Transforms/InstCombine/2005-06-16-RangeCrash.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | opt -instcombine -disable-output +; PR585 +bool %test() { + %tmp.26 = div int 0, -2147483648 ; [#uses=1] + %tmp.27 = seteq int %tmp.26, 0 ; [#uses=1] + ret bool %tmp.27 +}