Convert SimplifyDemandedMask and ShrinkDemandedConstant to use APInt.
authorDan Gohman <gohman@apple.com>
Wed, 27 Feb 2008 00:25:32 +0000 (00:25 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 27 Feb 2008 00:25:32 +0000 (00:25 +0000)
commit7b8d4a9eef4eb02e561227b50c9d119cea4e8860
tree5e34a34423a2dc2f1797ee6dd35c2c1b8e54255e
parentcc4831849e65220232b22489c3b0260969afc97c
Convert SimplifyDemandedMask and ShrinkDemandedConstant to use APInt.
Change several cases in SimplifyDemandedMask that don't ever do any
simplifying to reuse the logic in ComputeMaskedBits instead of
duplicating it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47648 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
lib/CodeGen/SelectionDAG/TargetLowering.cpp