OSDN Git Service

part of PR4405: disable a contentious optimization for
authorChris Lattner <sabre@nondot.org>
Fri, 19 Jun 2009 04:17:36 +0000 (04:17 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 19 Jun 2009 04:17:36 +0000 (04:17 +0000)
commit849832c0fb47f4e111840e0031b9129d41ffb389
treef2b648db29f164ed6365a3a316baa7de17063eb9
parent10382fb71d8306f320ecbeb7049d25354c0e5457
part of PR4405: disable a contentious optimization for
strcmp -> memcmp when the lengths of the strings are unknown.

Patch by Nick Lewycky!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73751 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/SimplifyLibCalls.cpp
test/Transforms/SimplifyLibCalls/2008-12-20-StrcmpMemcmp.ll [deleted file]