forked from OSchip/llvm-project
parent
539bdf0487
commit
7a09964e81
|
@ -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"); }
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue