diff --git a/lib/Target/README.txt b/lib/Target/README.txt index d999f4c3f35..bcc55b41e1a 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"); } + +//===---------------------------------------------------------------------===//