diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-10 01:08:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-10 01:08:51 +0000 |
commit | e34537856a544c83513e390ac9552a8bc3823346 (patch) | |
tree | 22c3def24ccc951dc07bb42f4eff7ed067705530 /utils/lit/lit.py | |
parent | 81cf4325698b48b02eddab921ac333c7f25005c3 (diff) |
add a new SimplifyInstruction API, which is like ConstantFoldInstruction,
except that the result may not be a constant. Switch jump threading to
use it so that it gets things like (X & 0) -> 0, which occur when phi preds
are deleted and the remaining phi pred was a zero.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86637 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit/lit.py')
0 files changed, 0 insertions, 0 deletions