Sink a binary expression into its use blocks if it is a loop invariant
authorEvan Cheng <evan.cheng@apple.com>
Fri, 16 Mar 2007 08:46:27 +0000 (08:46 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 16 Mar 2007 08:46:27 +0000 (08:46 +0000)
commit3cd4e5095b06b2be94a0cab3060272aae3460167
treed5f3c28eed18926aba447a70cddc0562d15695c2
parent277074721680253b151efd49d0263a07fafbec3d
Sink a binary expression into its use blocks if it is a loop invariant
computation used as GEP indexes and if the expression can be folded into
target addressing mode of GEP load / store use types.

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