aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-01-29 06:48:25 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-01-29 06:48:25 +0000
commit2ce5b263ba690ff30ea6ed3d5977e16a707c07bc (patch)
treea17f549fc5a1569d646aaa9766eea48057f2c326
parent0fc9c26e7d3bf6f6985b5a026aaa276b1af93351 (diff)
Add a note about lowering llvm.memset, llvm.memcpy, and llvm.memmove to a
few stores under certain conditions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25777 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/README.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt
index 2308761644..ac8f3f1e08 100644
--- a/lib/Target/X86/README.txt
+++ b/lib/Target/X86/README.txt
@@ -168,6 +168,13 @@ Combine: a = sin(x), b = cos(x) into a,b = sincos(x).
//===---------------------------------------------------------------------===//
+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;