[llvm-commits] CVS: llvm/lib/Target/X86/README.txt

Reid Spencer reid at x10sys.com
Sat Jan 28 22:48:36 PST 2006



Changes in directory llvm/lib/Target/X86:

README.txt updated: 1.25 -> 1.26
---
Log message:

Add a note about lowering llvm.memset, llvm.memcpy, and llvm.memmove to a
few stores under certain conditions.


---
Diffs of the changes:  (+7 -0)

 README.txt |    7 +++++++
 1 files changed, 7 insertions(+)


Index: llvm/lib/Target/X86/README.txt
diff -u llvm/lib/Target/X86/README.txt:1.25 llvm/lib/Target/X86/README.txt:1.26
--- llvm/lib/Target/X86/README.txt:1.25	Fri Jan 27 16:54:32 2006
+++ llvm/lib/Target/X86/README.txt	Sun Jan 29 00:48:25 2006
@@ -168,6 +168,13 @@
 
 //===---------------------------------------------------------------------===//
 
+For all targets, not just X86:
+When llvm.memcpy, llvm.memset, or llvm.memmove are lowered, they should be 
+optimized to a few store instructions if the source is constant and the length
+is smallish (< 8). This will greatly help some tests like Shootout/strcat.c
+
+//===---------------------------------------------------------------------===//
+
 Solve this DAG isel folding deficiency:
 
 int X, Y;






More information about the llvm-commits mailing list