commit | b2acc51bb28a6cff3789d4eb3ff4547a05b9bbe9 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Oct 19 21:09:10 2003 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Oct 19 21:09:10 2003 +0000 |
tree | 8f7b2a8a41d1d8cbbf7443707e067d7c19c8f886 | |
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