summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-11 17:54:02 +0000
committerChris Lattner <sabre@nondot.org>2009-11-11 17:54:02 +0000
commit7a09964e81d1056068518da7f0be04e305058e2d (patch)
treef3cebb73af343381eaa8f0b88b6680024abfb53c /llvm/lib
parent539bdf0487aeb615d3672aedd2f45e73751d8eba (diff)
downloadbcm5719-llvm-7a09964e81d1056068518da7f0be04e305058e2d.tar.gz
bcm5719-llvm-7a09964e81d1056068518da7f0be04e305058e2d.zip
another const prop failure.
llvm-svn: 86848
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/README.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt
index d999f4c3f35..bcc55b41e1a 100644
--- a/llvm/lib/Target/README.txt
+++ b/llvm/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"); }
+
+//===---------------------------------------------------------------------===//
OpenPOWER on IntegriCloud