commit | 513af851dd03e415bbcc2295c0af8a050b9f9287 | [log] [tgz] |
---|---|---|
author | Amjad Aboud <amjad.aboud@intel.com> | Fri Aug 25 11:07:54 2017 +0000 |
committer | Amjad Aboud <amjad.aboud@intel.com> | Fri Aug 25 11:07:54 2017 +0000 |
tree | 7a373e4b203271ffd45670c816f05881c3cdd5c1 | |
parent | 33badf709360ae27a67f57f6d3e36e9b850239a1 [diff] |
[InstCombine] Consider more cases where SimplifyDemandedUseBits does not convert AShr to LShr. There are cases where AShr have better chance to be optimized than LShr, especially when the demanded bits are not known to be Zero, and also known to be similar to the sign bit. Differential Revision: https://reviews.llvm.org/D36936 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311773 91177308-0d34-0410-b5e6-96231b3b80d8