diff options
-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"); } + +//===---------------------------------------------------------------------===// |