Added isLegalAddressExpression hook to test if the given expression can be
authorEvan Cheng <evan.cheng@apple.com>
Fri, 16 Mar 2007 08:42:32 +0000 (08:42 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 16 Mar 2007 08:42:32 +0000 (08:42 +0000)
commit14245a9d62d9a785a5d6590516380b300bab4957
tree18278b1fc52996d93e7b907c565cb7c08f2212d9
parent2864eee7a322610a8dc5f01e450a5e1ca477f7e7
Added isLegalAddressExpression hook to test if the given expression can be
folded into target addressing mode for the given type.

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