[llvm-commits] [llvm] r124097 - /llvm/trunk/lib/Target/README.txt
Chris Lattner
sabre at nondot.org
Sun Jan 23 18:32:00 PST 2011
Author: lattner
Date: Sun Jan 23 20:32:00 2011
New Revision: 124097
URL: http://llvm.org/viewvc/llvm-project?rev=124097&view=rev
Log:
this isn't a memset, we do convert dest[i] to one though :)
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=124097&r1=124096&r2=124097&view=diff
==============================================================================
--- llvm/trunk/lib/Target/README.txt (original)
+++ llvm/trunk/lib/Target/README.txt Sun Jan 23 20:32:00 2011
@@ -289,14 +289,6 @@
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
More information about the llvm-commits
mailing list