summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-03 22:05:41 +0000
committerChris Lattner <sabre@nondot.org>2006-02-03 22:05:41 +0000
commitd079dbb9b069c2f530ab630355a25bef094e568c (patch)
treec588ac41841de0ba70a0cf893e439473c4d2f9ce /llvm/lib
parent277462e20fac9f67dcc5a396b56bd9cad3cee1c7 (diff)
downloadbcm5719-llvm-d079dbb9b069c2f530ab630355a25bef094e568c.tar.gz
bcm5719-llvm-d079dbb9b069c2f530ab630355a25bef094e568c.zip
another case Nate came up with
llvm-svn: 25943
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/README.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt
index 32a2e7ccbd5..d9091d0ca76 100644
--- a/llvm/lib/Target/README.txt
+++ b/llvm/lib/Target/README.txt
@@ -68,4 +68,7 @@ For dag combiner and instcombine:
Fold: "A / (B << N)" where B is a power of 2, to "A >> (N + log2(B))".
Fold: "A % (B << N)" where B is a power of 2, to "A & ((B << N) - 1)".
+int t(int X, int Y) { return 1 << (X+4); } --> 16 << X
+
+
//===---------------------------------------------------------------------===//
OpenPOWER on IntegriCloud