Back out fold (shl (add x, c1), c2) -> (add (shl x, c2), c1<<c2) for now.
authorEvan Cheng <evan.cheng@apple.com>
Sun, 5 Mar 2006 07:30:16 +0000 (07:30 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sun, 5 Mar 2006 07:30:16 +0000 (07:30 +0000)
commit9176b0169c8650fa6fb1d0464256d7c3e8ecf115
tree7c5ce7cd02ce167368819ce7b5cad122c3181d5e
parent12d830346b78b8e92dc0346e710f261cc680480f
Back out fold (shl (add x, c1), c2) -> (add (shl x, c2), c1<<c2) for now.
It's causing an infinite loop compiling ldecod on x86 / Darwin.

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