diff options
author | Chris Lattner <sabre@nondot.org> | 2005-01-01 16:22:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-01-01 16:22:27 +0000 |
commit | 6e7ba45460af5e6169f32cd6d595fca06365bb31 (patch) | |
tree | 99744ed8651210ddbdd32095cc47a5fc7af7a393 /projects | |
parent | 0f75849116423f5e57776600cd47d80db624e496 (diff) | |
download | llvm-6e7ba45460af5e6169f32cd6d595fca06365bb31.tar.gz llvm-6e7ba45460af5e6169f32cd6d595fca06365bb31.tar.bz2 llvm-6e7ba45460af5e6169f32cd6d595fca06365bb31.tar.xz |
This is a bulk commit that implements the following primary improvements:
* We can now fold cast instructions into select instructions that
have at least one constant operand.
* We now optimize expressions more aggressively based on bits that are
known to be zero. These optimizations occur a lot in code that uses
bitfields even in simple ways.
* We now turn more cast-cast sequences into AND instructions. Before we
would only do this if it if all types were unsigned. Now only the
middle type needs to be unsigned (guaranteeing a zero extend).
* We transform sign extensions into zero extensions in several cases.
This corresponds to these test/Regression/Transforms/InstCombine testcases:
2004-11-22-Missed-and-fold.ll
and.ll: test28-29
cast.ll: test21-24
and-or-and.ll
cast-cast-to-and.ll
zeroext-and-reduce.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19220 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
0 files changed, 0 insertions, 0 deletions