Skip to content
Commit af9befa6 authored by Michael Kuperstein's avatar Michael Kuperstein
Browse files

Fixes two issue in SimplifyDemandedBits of sext_in_reg:

1) We should not try to simplify if the sext has multiple uses
2) There is no need to simplify is the source value is already sign-extended.

Patch by Gil Rapaport <gil.rapaport@intel.com>

Differential Revision: http://reviews.llvm.org/D6949

llvm-svn: 229659
parent b7e5909a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment