this isn't a memset, we do convert dest[i] to one though :)
[oota-llvm.git] / lib / Target / README.txt
index 153c7d906808ded7fde46bf6bb93744fafa7021f..8b5c5ce137131dc1d25e3d41524167c03dab15dc 100644 (file)
@@ -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