commit | 24cd06b69ff1aa4f970d5387c337092818f4c3c8 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Thu Mar 23 21:00:13 2017 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Thu Mar 23 21:00:13 2017 +0000 |
tree | aa378fec4df0ed4be63cc925c2f0b063180a0f39 | |
parent | 36bb50f5293da49e89ae560ab9bba0f951ee46c6 [diff] |
[InstCombine] Remove some code from visitAnd that dealt with trying to reduce the LHS of a sub to 0. This should now be fully handled by SimplifyDemandedInstructionBits now. Now that we call ShrinkDemandedConstant on the RHS of sub this should be taken care of. This code doesn't trigger on any in tree regressions, but did before ShrinkDemandedConstant was added to the RHS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298644 91177308-0d34-0410-b5e6-96231b3b80d8