diff options
author | Chris Lattner <sabre@nondot.org> | 2006-03-14 06:57:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-03-14 06:57:34 +0000 |
commit | ad5a3a0265f4dfe175cc598913b025b69d132afb (patch) | |
tree | 5135dce843e8a9a628260dce4671826041a09e4e | |
parent | 22a66c41f3ab42c15437033851395b0b8288681b (diff) |
transformation implemented
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26754 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/README.txt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/Target/README.txt b/lib/Target/README.txt index 4ab412238a..000fdded16 100644 --- a/lib/Target/README.txt +++ b/lib/Target/README.txt @@ -88,16 +88,6 @@ 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. - -//===---------------------------------------------------------------------===// - Reassociate should turn: X*X*X*X -> t=(X*X) (t*t) to eliminate a multiply. //===---------------------------------------------------------------------===// |