diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-11-11 17:54:02 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-11-11 17:54:02 +0000 |
| commit | 7a09964e81d1056068518da7f0be04e305058e2d (patch) | |
| tree | f3cebb73af343381eaa8f0b88b6680024abfb53c /llvm/lib | |
| parent | 539bdf0487aeb615d3672aedd2f45e73751d8eba (diff) | |
| download | bcm5719-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.txt | 9 |
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"); } + +//===---------------------------------------------------------------------===// |

