some stuff is done

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26004 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-02-05 07:54:37 +00:00
parent 5f3b0eeddb
commit 176f0416d1

View File

@ -65,10 +65,6 @@ Number 1 is the preferred solution.
//===---------------------------------------------------------------------===//
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
//===---------------------------------------------------------------------===//