commit | 53936b83aa244e42f4bfb270a910d5f783831920 | [log] [tgz] |
---|---|---|
author | Sanjoy Das <sanjoy@playingwithpointers.com> | Sun Oct 02 20:59:05 2016 +0000 |
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | Sun Oct 02 20:59:05 2016 +0000 |
tree | cf9daec7f01bc9aa73d751308f9eaee4f8951e80 | |
parent | 630a87ab494609292a1579fdb7b1dc237ba4c070 [diff] |
[ConstantRange] Make getEquivalentICmp smarter This change teaches getEquivalentICmp to be smarter about generating ICMP_NE and ICMP_EQ predicates. An earlier version of this change was landed as rL283057 which had a use-after-free bug. This new version has a fix for that bug, and a (C++ unittests/) test case that would have triggered it rL283057. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283078 91177308-0d34-0410-b5e6-96231b3b80d8