[llvm-commits] [llvm] r48583 - /llvm/trunk/lib/Target/README.txt

Chris Lattner sabre at nondot.org
Wed Mar 19 21:46:13 PDT 2008


Author: lattner
Date: Wed Mar 19 23:46:13 2008
New Revision: 48583

URL: http://llvm.org/viewvc/llvm-project?rev=48583&view=rev
Log:
add a note.

Modified:
    llvm/trunk/lib/Target/README.txt

Modified: llvm/trunk/lib/Target/README.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/README.txt?rev=48583&r1=48582&r2=48583&view=diff

==============================================================================
--- llvm/trunk/lib/Target/README.txt (original)
+++ llvm/trunk/lib/Target/README.txt Wed Mar 19 23:46:13 2008
@@ -772,3 +772,11 @@
 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.
+
+//===---------------------------------------------------------------------===//
+





More information about the llvm-commits mailing list