mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
remove some dead target hooks, subsumed by isLegalAddressingMode
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35840 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -1441,24 +1441,6 @@ bool ARMTargetLowering::isLegalAddressScale(int64_t S, const Type *Ty) const {
|
||||
}
|
||||
}
|
||||
|
||||
/// isLegalAddressScaleAndImm - Return true if S works for IsLegalAddressScale
|
||||
/// and V works for isLegalAddressImmediate _and_ both can be applied
|
||||
/// simultaneously to the same instruction.
|
||||
bool ARMTargetLowering::isLegalAddressScaleAndImm(int64_t S, int64_t V,
|
||||
const Type* Ty) const {
|
||||
if (V == 0)
|
||||
return isLegalAddressScale(S, Ty);
|
||||
return false;
|
||||
}
|
||||
|
||||
/// isLegalAddressScaleAndImm - Return true if S works for IsLegalAddressScale
|
||||
/// and GV works for isLegalAddressImmediate _and_ both can be applied
|
||||
/// simultaneously to the same instruction.
|
||||
bool ARMTargetLowering::isLegalAddressScaleAndImm(int64_t S, GlobalValue *GV,
|
||||
const Type* Ty) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
static bool getIndexedAddressParts(SDNode *Ptr, MVT::ValueType VT,
|
||||
bool isSEXTLoad, SDOperand &Base,
|
||||
SDOperand &Offset, bool &isInc,
|
||||
|
Reference in New Issue
Block a user