diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-11 17:54:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-11 17:54:02 +0000 |
commit | fc926c2395a2593afcdee68378a0ff8c6c54f2e3 (patch) | |
tree | 7b38dddb980b2ac18c9e1886980235d0431feb94 | |
parent | 6fdfc9c63021cb47b6b915b05e065c4f80613560 (diff) |
another const prop failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86848 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/README.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt index d999f4c3f3..bcc55b41e1 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -1710,3 +1710,12 @@ The results for a function + set of constant arguments should be memoized in a map. //===---------------------------------------------------------------------===// + +The libcall constant folding stuff should be moved out of SimplifyLibcalls into +libanalysis' constantfolding logic. This would allow IPSCCP to be able to +handle simple things like this: + +static int foo(const char *X) { return strlen(X); } +int bar() { return foo("abcd"); } + +//===---------------------------------------------------------------------===// |