another case Nate came up with
authorChris Lattner <sabre@nondot.org>
Fri, 3 Feb 2006 22:05:41 +0000 (22:05 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 3 Feb 2006 22:05:41 +0000 (22:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25943 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/README.txt

index 32a2e7ccbd57f6a088c66bb284ef3932fb42a20e..d9091d0ca7698cb4e7ef3609d3898d2241d8cc6b 100644 (file)
@@ -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
+
+
 //===---------------------------------------------------------------------===//