add a note

llvm-svn: 26583
This commit is contained in:
Chris Lattner 2006-03-07 02:46:26 +00:00
parent a4a4ceb478
commit bccb0e07f0
1 changed files with 11 additions and 0 deletions

View File

@ -106,3 +106,14 @@ This would be a win on ppc32, but not x86 or ppc64.
Shrink: (setlt (loadi32 P), 0) -> (setlt (loadi8 Phi), 0)
//===---------------------------------------------------------------------===//
Reassociate is missing this:
int test(int X, int Y) {
return (X+X+Y+Y); // (X+Y) << 1;
}
it needs to turn the shifts into multiplies to get it.
//===---------------------------------------------------------------------===//