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 | bf87734fa096f082c992802b131383b703a1f7f5 (patch) | |
tree | e6053b37796b5427f17cd4873c2bd03253b52d5a /llvm/lib/Target/Sparc | |
parent | 55a8ef0cc8a9eb67d7f551c95cfa57abc1336cca (diff) | |
download | bcm5719-llvm-bf87734fa096f082c992802b131383b703a1f7f5.tar.gz bcm5719-llvm-bf87734fa096f082c992802b131383b703a1f7f5.zip |
* 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.
llvm-svn: 9267
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions