reapply my strstr optimization. I have reproduced the x86-64 bootstrap
authorChris Lattner <sabre@nondot.org>
Wed, 16 Dec 2009 09:32:05 +0000 (09:32 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 16 Dec 2009 09:32:05 +0000 (09:32 +0000)
commit24604110efc862423f7b2724e93a8793eefd44b2
treec5c8b46cb837b2d6b8aac432dd9a52f06e0d40e5
parentacf8723b8e531e64abd3be61b4f34e7700c6028d
reapply my strstr optimization.  I have reproduced the x86-64 bootstrap
miscompile (i386.o miscompares) but it happens both with and without
this patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91532 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimplifyLibCalls.cpp
test/Transforms/SimplifyLibCalls/StrStr.ll