Do not fold (add (shl x, c1), (shl c2, c1)) -> (shl (add x, c2), c1),
authorChris Lattner <sabre@nondot.org>
Sun, 5 Mar 2006 19:52:57 +0000 (19:52 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 5 Mar 2006 19:52:57 +0000 (19:52 +0000)
commitc1d9f1de41b26769752224829987a6aa06fe4b87
tree6c95743f71a929bdd174ced70f8c92515a5ec375
parent52676510577a5fdab082eb0c065ae151903d9dcf
Do not fold (add (shl x, c1), (shl c2, c1)) -> (shl (add x, c2), c1),
we want to canonicalize the other way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26547 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/TargetLowering.cpp