summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-11-26 01:51:18 +0000
committerChris Lattner <sabre@nondot.org>2009-11-26 01:51:18 +0000
commit8e09ad6f3c3933cf525ad4e44dec67541883d0cc (patch)
tree0c46f8cb0ccab7db1e56088139e1683018601170 /llvm/lib
parent4f0b47d9e741db751dc855863dd64ae4b35f4a44 (diff)
downloadbcm5719-llvm-8e09ad6f3c3933cf525ad4e44dec67541883d0cc.tar.gz
bcm5719-llvm-8e09ad6f3c3933cf525ad4e44dec67541883d0cc.zip
update some notes slightly
llvm-svn: 89913
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/README.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt
index aad621f440a..6d90f05a46e 100644
--- a/llvm/lib/Target/README.txt
+++ b/llvm/lib/Target/README.txt
@@ -220,7 +220,7 @@ so cool to turn it into something like:
... which would only do one 32-bit XOR per loop iteration instead of two.
It would also be nice to recognize the reg->size doesn't alias reg->node[i], but
-alas.
+this requires TBAA.
//===---------------------------------------------------------------------===//
@@ -280,6 +280,9 @@ unsigned int popcount(unsigned int input) {
return count;
}
+This is a form of idiom recognition for loops, the same thing that could be
+useful for recognizing memset/memcpy.
+
//===---------------------------------------------------------------------===//
These should turn into single 16-bit (unaligned?) loads on little/big endian
@@ -343,7 +346,7 @@ PHI Slicing could be extended to do this.
//===---------------------------------------------------------------------===//
-LSR should know what GPR types a target has. This code:
+LSR should know what GPR types a target has from TargetData. This code:
volatile short X, Y; // globals
@@ -369,7 +372,6 @@ LBB1_2:
LSR should reuse the "+" IV for the exit test.
-
//===---------------------------------------------------------------------===//
Tail call elim should be more aggressive, checking to see if the call is
OpenPOWER on IntegriCloud