Shifter ops are not always free. Do not fold them (especially to form
authorEvan Cheng <evan.cheng@apple.com>
Wed, 27 Oct 2010 23:41:30 +0000 (23:41 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 27 Oct 2010 23:41:30 +0000 (23:41 +0000)
commitf40deed62f4f0126459ed7bfd1799f4e09b1aaa7
tree23ed2e5fd30ec48866da18e090cb14388631f59c
parentde5fa932b9bc0eebe803c9549586bf512eeb12f9
Shifter ops are not always free. Do not fold them (especially to form
complex load / store addressing mode) when they have higher cost and
when they have more than one use.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117509 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMISelDAGToDAG.cpp
lib/Target/ARM/ARMInstrInfo.td
test/CodeGen/ARM/shifter_operand.ll
utils/TableGen/EDEmitter.cpp