From: Chris Lattner Date: Fri, 3 Feb 2006 22:05:41 +0000 (+0000) Subject: another case Nate came up with X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=e7b06c65ba328240807b69d937a9c9a1cc0a2deb;p=oota-llvm.git another case Nate came up with git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25943 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 32a2e7ccbd5..d9091d0ca76 100644 --- a/lib/Target/README.txt +++ b/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 + + //===---------------------------------------------------------------------===//