diff options
author | Chris Lattner <sabre@nondot.org> | 2005-06-17 02:04:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-06-17 02:04:47 +0000 |
commit | 98b4d598611ffd6de0ce2cbf80ac43cae1dd805d (patch) | |
tree | ea1d529f091c7c9d1e8ef300fad6c2bc58b1d9f4 /test/Transforms | |
parent | 0289929c6212229980c9057853860ccfd3f81678 (diff) | |
download | external_llvm-98b4d598611ffd6de0ce2cbf80ac43cae1dd805d.zip external_llvm-98b4d598611ffd6de0ce2cbf80ac43cae1dd805d.tar.gz external_llvm-98b4d598611ffd6de0ce2cbf80ac43cae1dd805d.tar.bz2 |
new testcase for PR585
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22233 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/InstCombine/2005-06-16-RangeCrash.ll | 7 |
1 files changed, 7 insertions, 0 deletions
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 0000000..a586d87 --- /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 ; <int> [#uses=1] + %tmp.27 = seteq int %tmp.26, 0 ; <bool> [#uses=1] + ret bool %tmp.27 +} |