aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-29 06:56:02 +0000
committerChris Lattner <sabre@nondot.org>2008-04-29 06:56:02 +0000
commita244a39772791f01871e87985907d8b184ccec8f (patch)
tree4e53dc8bd0b58c3f67a5cd6850c394a17006c404 /include
parent7fb4a8a4d8479d1d47d93a4c712f40805dfcc471 (diff)
downloadexternal_llvm-a244a39772791f01871e87985907d8b184ccec8f.zip
external_llvm-a244a39772791f01871e87985907d8b184ccec8f.tar.gz
external_llvm-a244a39772791f01871e87985907d8b184ccec8f.tar.bz2
Implement more aggressive support for analyzing string length. This
generalizes the previous code to handle the case when the string is not an immediate to the strlen call (for example, crazy stuff like strlen(c ? "foo" : "bart"+1) -> 3). This implements gcc.c-torture/execute/builtins/strlen-2.c. I will generalize other cases in simplifylibcalls to use the same routine later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions