Enhance MVIZ in three ways:
authorChris Lattner <sabre@nondot.org>
Thu, 9 Feb 2006 07:38:58 +0000 (07:38 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 9 Feb 2006 07:38:58 +0000 (07:38 +0000)
commit68d5ff2b83033d14468b13c5885d5d1fad25a764
tree6778a6e9bc8e7b406086c5ea23d3c99930967e4a
parent12f7de822262aab9400f6b400bff25e136d4f7d3
Enhance MVIZ in three ways:
1. Teach it new tricks: in particular how to propagate through signed shr and sexts.
2. Teach it to return a bitset of known-1 and known-0 bits, instead of just zero.
3. Teach instcombine (AND X, C) to fold when we know all C bits of X.

This implements Regression/Transforms/InstCombine/bittest.ll, and allows
future things to be simplified.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26087 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp