aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-19 21:09:10 +0000
committerChris Lattner <sabre@nondot.org>2003-10-19 21:09:10 +0000
commitbf87734fa096f082c992802b131383b703a1f7f5 (patch)
treee6053b37796b5427f17cd4873c2bd03253b52d5a /llvm/lib/Transforms/Utils/CloneModule.cpp
parent55a8ef0cc8a9eb67d7f551c95cfa57abc1336cca (diff)
downloadllvm-bf87734fa096f082c992802b131383b703a1f7f5.zip
llvm-bf87734fa096f082c992802b131383b703a1f7f5.tar.gz
llvm-bf87734fa096f082c992802b131383b703a1f7f5.tar.bz2
* 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/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions