commit | 42d7ccfd8e672bf3a5d42052f8da50f0d610afb2 | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Fri Jan 19 17:51:44 2007 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Fri Jan 19 17:51:44 2007 +0000 |
tree | 2c7a0d4bb0d44b93c89092e87280739686f61eac | |
parent | b6a7aa7e9dd4e8a27034a5fa4d7786d791572bd8 [diff] |
Remove this xform: (shl (add x, c1), c2) -> (add (shl x, c2), c1<<c2) Replace it with: (add (shl (add x, c1), c2), ) -> (add (add (shl x, c2), c1<<c2), ) This fixes test/CodeGen/ARM/smul.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33361 91177308-0d34-0410-b5e6-96231b3b80d8