OSDN Git Service

[InstCombine] Use APInt::getActiveBits() to avoid creating an APInt from a trailing...
authorCraig Topper <craig.topper@intel.com>
Wed, 20 Sep 2017 18:49:29 +0000 (18:49 +0000)
committerCraig Topper <craig.topper@intel.com>
Wed, 20 Sep 2017 18:49:29 +0000 (18:49 +0000)
commit6bf994d95cc7c7c68c7591768c51cb595e417549
tree15c6577aef53abcf2074a70f287ecf41acb546d8
parenta689afa09de3617bf7d28bdc659bd1f06e72febb
[InstCombine] Use APInt::getActiveBits() to avoid creating an APInt from a trailing zero count to do a comparison. NFCI

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313792 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp