another const prop failure.

llvm-svn: 86848
This commit is contained in:
Chris Lattner 2009-11-11 17:54:02 +00:00
parent 539bdf0487
commit 7a09964e81
1 changed files with 9 additions and 0 deletions

View 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"); }
//===---------------------------------------------------------------------===//