diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-20 04:46:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-20 04:46:13 +0000 |
commit | f70107fe1cd44bef7ab9cb97b27648c89967dda8 (patch) | |
tree | 096fca68cae2583d9d38e3f7de53df6d74cef0e8 | |
parent | b9b042800445178e2dff1c83ead3d08d3f36dc29 (diff) |
add a note.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48583 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/README.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 5d7d8c30be..c64d7e0e6e 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -772,3 +772,11 @@ ARM, we end up with calls to L___lshrdi3/L___ashldi3 in f, which is badness. PPC64 misses f, f5 and f6. CellSPU aborts in isel. //===---------------------------------------------------------------------===// + +We do a number of simplifications in simplify libcalls to strength reduce +standard library functions, but we don't currently merge them together. For +example, it is useful to merge memcpy(a,b,strlen(b)) -> strcpy. This can only +be done safely if "b" isn't modified between the strlen and memcpy of course. + +//===---------------------------------------------------------------------===// + |