commit | 255d8919b6049d2f5ccd18bcd0a938d679f3ab01 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Feb 11 09:31:47 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Feb 11 09:31:47 2006 +0000 |
tree | e3fd7ba31c640bc41fa46969d436f6d89a747336 | |
parent | 5077c7be92d310abfa8667bebc35d36ec6207d2a [diff] |
Port the recent innovations in ComputeMaskedBits to SimplifyDemandedBits. This allows us to simplify on conditions where bits are not known, but they are not demanded either! This also fixes a couple of bugs in ComputeMaskedBits that were exposed during this work. In the future, swaths of instcombine should be removed, as this code subsumes a bunch of ad-hockery. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26122 91177308-0d34-0410-b5e6-96231b3b80d8