another const prop failure.
authorChris Lattner <sabre@nondot.org>
Wed, 11 Nov 2009 17:54:02 +0000 (17:54 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 11 Nov 2009 17:54:02 +0000 (17:54 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86848 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index d999f4c3f35da9ba1049d64132ef3e716b9f04a4..bcc55b41e1a55fd10f25c4724c1e418b0a514164 100644 (file)
@@ -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"); }
+
+//===---------------------------------------------------------------------===//