fix the regressions from Eric's patch by making GetConstantStringInfo
authorChris Lattner <sabre@nondot.org>
Fri, 27 Jun 2008 03:36:51 +0000 (03:36 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 27 Jun 2008 03:36:51 +0000 (03:36 +0000)
commit3648f9f0ae79532c6bdc9c6188d0e46676de212f
tree7ece4b50a10cdd93124df735d4e6e560b35f8d92
parent07c68f9b6f2d1009f8c239c27e351fd8246879f5
fix the regressions from Eric's patch by making GetConstantStringInfo
tolerate a non-nul-terminated string, and handling a direct global
reference.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52813 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ValueTracking.h
lib/Analysis/ValueTracking.cpp