Remove this xform:
authorEvan Cheng <evan.cheng@apple.com>
Fri, 19 Jan 2007 17:51:44 +0000 (17:51 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 19 Jan 2007 17:51:44 +0000 (17:51 +0000)
commit42d7ccfd8e672bf3a5d42052f8da50f0d610afb2
tree2c7a0d4bb0d44b93c89092e87280739686f61eac
parentb6a7aa7e9dd4e8a27034a5fa4d7786d791572bd8
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
lib/CodeGen/SelectionDAG/DAGCombiner.cpp