Fix several nasty bugs in the strchr optimizer, this fixes
authorChris Lattner <sabre@nondot.org>
Fri, 6 Apr 2007 23:38:55 +0000 (23:38 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 6 Apr 2007 23:38:55 +0000 (23:38 +0000)
commit6897fe58610f4671705566d27af5b76b0c587b31
tree0643095064f81541a2628776733e99e3865f9e4e
parent3d2e54bb742505089a88ca7944921a8128d0b291
Fix several nasty bugs in the strchr optimizer, this fixes
SimplifyLibCalls/2007-04-06-strchr-miscompile.ll and PR1307

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35706 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/SimplifyLibCalls.cpp