summaryrefslogtreecommitdiff
path: root/lib/Target/README.txt
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-01-24 02:32:00 +0000
committerChris Lattner <sabre@nondot.org>2011-01-24 02:32:00 +0000
commit96c0771c01f4a7858a3a15919d70a1b1ab8f6ac1 (patch)
tree026d4b5723be287564c458e777898bee1c16456e /lib/Target/README.txt
parent7ea7d32de64247e1432a3d8b8d7bd4515714e63e (diff)
downloadllvm-96c0771c01f4a7858a3a15919d70a1b1ab8f6ac1.tar.gz
llvm-96c0771c01f4a7858a3a15919d70a1b1ab8f6ac1.tar.bz2
llvm-96c0771c01f4a7858a3a15919d70a1b1ab8f6ac1.tar.xz
this isn't a memset, we do convert dest[i] to one though :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124097 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/README.txt')
-rw-r--r--lib/Target/README.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt
index 153c7d9068..8b5c5ce137 100644
--- a/lib/Target/README.txt
+++ b/lib/Target/README.txt
@@ -289,14 +289,6 @@ unsigned int popcount(unsigned int input) {
This sort of thing should be added to the loop idiom pass.
-This loop isn't converted to a memset:
-
-void f(char *dest, int n) {
- for (int i = 0; i < n; ++i) {
- dest[n] = 0;
- }
-}
-
//===---------------------------------------------------------------------===//
These should turn into single 16-bit (unaligned?) loads on little/big endian