mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
add a note
llvm-svn: 26583
This commit is contained in:
parent
03940bfcfe
commit
174768dde0
@ -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)
|
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.
|
||||||
|
|
||||||
|
//===---------------------------------------------------------------------===//
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user