diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2005-05-07 20:15:59 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2005-05-07 20:15:59 +0000 |
commit | 170ae7ff7093e8183c5fff3e66a0c97d96d07798 (patch) | |
tree | 5f75fde21e72c2c1b89f310df50533fef43fcf2f /llvm/lib/Transforms/Utils/CloneModule.cpp | |
parent | 4f01a822b4abcb4c366a9031f9d65a870d46463e (diff) | |
download | llvm-170ae7ff7093e8183c5fff3e66a0c97d96d07798.zip llvm-170ae7ff7093e8183c5fff3e66a0c97d96d07798.tar.gz llvm-170ae7ff7093e8183c5fff3e66a0c97d96d07798.tar.bz2 |
* Add two strlen optimizations:
strlen(x) != 0 -> *x != 0
strlen(x) == 0 -> *x == 0
* Change nested statistics to use style of other LLVM statistics so that
only the name of the optimization (simplify-libcalls) is used as the
statistic name, and the description indicates which specific all is
optimized. Cuts down on some redundancy and saves a few bytes of space.
* Make note of stpcpy optimization that could be done.
llvm-svn: 21766
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions