diff options
author | Chris Lattner <sabre@nondot.org> | 2003-10-19 21:09:10 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-10-19 21:09:10 +0000 |
commit | b2acc51bb28a6cff3789d4eb3ff4547a05b9bbe9 (patch) | |
tree | 8f7b2a8a41d1d8cbbf7443707e067d7c19c8f886 /lib/Transforms/ExprTypeConvert.cpp | |
parent | f634a103ee3212d1f3030916a6ed204e47c57392 (diff) |
* Multiplications by 2^X are turned into shifts. This factors code out of the
getelementptr code path for use by other code paths (like malloc and alloca).
* Optimize comparisons with zero
* Generate neg, not, inc, and dec instructions, when possible.
This gives some code size wins, which might translate into performance. We'll
see tommorow in the nightly tester.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/ExprTypeConvert.cpp')
0 files changed, 0 insertions, 0 deletions