Skip to content
Commit 22178dd3 authored by Amjad Aboud's avatar Amjad Aboud
Browse files

[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
parent 6cc8317c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment