Handle GEP's a bit more intelligently. Fold constant indices early and
authorChris Lattner <sabre@nondot.org>
Wed, 9 Nov 2005 04:45:33 +0000 (04:45 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 9 Nov 2005 04:45:33 +0000 (04:45 +0000)
commit7c0104b525a4ba8b5268ee5455f92b011f7cc263
treeb63561ed6327bb9ae443f17c4e0e974e0053ac64
parent0d902a9c740bdaa57396547f26a02c234752c579
Handle GEP's a bit more intelligently.  Fold constant indices early and
turn power-of-two multiplies into shifts early to improve compile time.

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