some stuff is done

llvm-svn: 26004
This commit is contained in:
Chris Lattner 2006-02-05 07:54:37 +00:00
parent 2e90b732fa
commit 4b8fcc229f
1 changed files with 0 additions and 4 deletions

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
//===---------------------------------------------------------------------===//