mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
another const prop failure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86848 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6fdfc9c630
commit
fc926c2395
@ -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
Block a user