diff options
author | Amjad Aboud <amjad.aboud@intel.com> | 2017-08-25 11:07:54 +0000 |
---|---|---|
committer | Amjad Aboud <amjad.aboud@intel.com> | 2017-08-25 11:07:54 +0000 |
commit | 22178dd33b3460207b8b1dd109339524e50feab5 (patch) | |
tree | 2135a088131771d9d3de81c55de656d3640723ae /llvm/lib/Analysis/RegionPass.cpp | |
parent | 6cc8317c38b8fd9b4debeabf5d28aa128bb61160 (diff) | |
download | bcm5719-llvm-22178dd33b3460207b8b1dd109339524e50feab5.tar.gz bcm5719-llvm-22178dd33b3460207b8b1dd109339524e50feab5.zip |
[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
llvm-svn: 311773
Diffstat (limited to 'llvm/lib/Analysis/RegionPass.cpp')
0 files changed, 0 insertions, 0 deletions