forked from OSchip/llvm-project
Added target hook for post-indexed memory ops transformation.
llvm-svn: 31499
This commit is contained in:
parent
60c6846d21
commit
b391e3509a
|
@ -382,6 +382,16 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
/// getPostIndexedAddressParts - returns true by value, base pointer and
|
||||
/// offset pointer and addressing mode by reference if this node can be
|
||||
/// combined with a load / store to form a post-indexed load / store.
|
||||
virtual bool getPostIndexedAddressParts(SDNode *N, MVT::ValueType VT,
|
||||
SDOperand &Base, SDOperand &Offset,
|
||||
ISD::MemOpAddrMode &AM,
|
||||
SelectionDAG &DAG) {
|
||||
return false;
|
||||
}
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// TargetLowering Optimization Methods
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue