aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-04-28 17:02:21 +0000
committerDan Gohman <gohman@apple.com>2008-04-28 17:02:21 +0000
commitbec1605c43a6375d755c88e1269d9176433bfecd (patch)
treef306de3e44e0b534d1dab023bfbafded2cd1c35b /lib/Bitcode
parent415e13afea66fb0fea6a13c9988a96185e064dd8 (diff)
downloadexternal_llvm-bec1605c43a6375d755c88e1269d9176433bfecd.zip
external_llvm-bec1605c43a6375d755c88e1269d9176433bfecd.tar.gz
external_llvm-bec1605c43a6375d755c88e1269d9176433bfecd.tar.bz2
Teach InstCombine's ComputeMaskedBits what SelectionDAG's
ComputeMaskedBits knows about cttz, ctlz, and ctpop. Teach SelectionDAG's ComputeMaskedBits what InstCombine's knows about SRem. And teach them both some things about high bits in Mul, UDiv, URem, and Sub. This allows instcombine and dagcombine to eliminate sign-extension operations in several new cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50358 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
0 files changed, 0 insertions, 0 deletions