[InstCombine] Use APInt::isSubsetOf to simplify some code in SimplifyDemandedBits...
authorCraig Topper <craig.topper@gmail.com>
Thu, 20 Apr 2017 20:47:35 +0000 (20:47 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 20 Apr 2017 20:47:35 +0000 (20:47 +0000)
commit17f37ba3b97d281b258b552b4be5fde6da6df08a
tree76fdc467d78a10ceeb3eb370fc65d8e06b99b2ff
parent7e77bed813f25bdb7aff11828a8ce820cdeb5541
[InstCombine] Use APInt::isSubsetOf to simplify some code in SimplifyDemandedBits. NFC

This allows us to use less temporary APInt for And and Invert operations.

llvm-svn: 300885
llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp