mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-02 07:32:52 +00:00
Added a target specific hook to check whether / how a node can be transformed
into a pair of base / offset nodes for pre-indexed load / store ops. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31407 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7ceebb437e
commit
24d9cf025d
@ -371,6 +371,16 @@ public:
|
|||||||
unsigned getJumpBufAlignment() const {
|
unsigned getJumpBufAlignment() const {
|
||||||
return JumpBufAlignment;
|
return JumpBufAlignment;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// getLegalPreIndexedAddressBase - returns true by value, base pointer and
|
||||||
|
/// offset pointer and addressing mode by reference if the node's address
|
||||||
|
/// can be legally represented as pre-indexed load / store address.
|
||||||
|
virtual bool getLegalPreIndexedAddressBase(SDNode *N, SDOperand &Base,
|
||||||
|
SDOperand &Offset,
|
||||||
|
ISD::MemOpAddrMode &AM,
|
||||||
|
SelectionDAG &DAG) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
//===--------------------------------------------------------------------===//
|
//===--------------------------------------------------------------------===//
|
||||||
// TargetLowering Optimization Methods
|
// TargetLowering Optimization Methods
|
||||||
|
Loading…
Reference in New Issue
Block a user