aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/Reassociate.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-05-07 20:15:59 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-05-07 20:15:59 +0000
commit789082af0399576a80141a8bd6241f96e29e2902 (patch)
tree2035bf14753fa843865ce0d5d404bcd61003b812 /lib/Transforms/Scalar/Reassociate.cpp
parent673c1a917035a7fe04f4491fbba62a7e13de2069 (diff)
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21766 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/Reassociate.cpp')
0 files changed, 0 insertions, 0 deletions