* Add two strlen optimizations:
authorReid Spencer <rspencer@reidspencer.com>
Sat, 7 May 2005 20:15:59 +0000 (20:15 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 7 May 2005 20:15:59 +0000 (20:15 +0000)
commit789082af0399576a80141a8bd6241f96e29e2902
tree2035bf14753fa843865ce0d5d404bcd61003b812
parent673c1a917035a7fe04f4491fbba62a7e13de2069
* 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
lib/Transforms/IPO/SimplifyLibCalls.cpp