Changes in directory llvm/lib/Target/ARM:
ARMISelLowering.cpp updated: 1.39 -> 1.40 ARMISelLowering.h updated: 1.11 -> 1.12 --- Log message: remove some dead target hooks, subsumed by isLegalAddressingMode --- Diffs of the changes: (+0 -30) ARMISelLowering.cpp | 18 ------------------ ARMISelLowering.h | 12 ------------ 2 files changed, 30 deletions(-) Index: llvm/lib/Target/ARM/ARMISelLowering.cpp diff -u llvm/lib/Target/ARM/ARMISelLowering.cpp:1.39 llvm/lib/Target/ARM/ARMISelLowering.cpp:1.40 --- llvm/lib/Target/ARM/ARMISelLowering.cpp:1.39 Tue Apr 3 19:06:07 2007 +++ llvm/lib/Target/ARM/ARMISelLowering.cpp Mon Apr 9 17:25:41 2007 @@ -1441,24 +1441,6 @@ } } -/// 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, Index: llvm/lib/Target/ARM/ARMISelLowering.h diff -u llvm/lib/Target/ARM/ARMISelLowering.h:1.11 llvm/lib/Target/ARM/ARMISelLowering.h:1.12 --- llvm/lib/Target/ARM/ARMISelLowering.h:1.11 Sun Apr 1 20:30:03 2007 +++ llvm/lib/Target/ARM/ARMISelLowering.h Mon Apr 9 17:25:41 2007 @@ -99,18 +99,6 @@ /// type. virtual bool 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. - virtual bool isLegalAddressScaleAndImm(int64_t S, int64_t V, - const Type *Ty) const; - - /// isLegalAddressScaleAndImm - Return true if S works for - /// IsLegalAddressScale and GV works for isLegalAddressImmediate _and_ - /// both can be applied simultaneously to the same instruction. - virtual bool isLegalAddressScaleAndImm(int64_t S, GlobalValue *GV, - const Type *Ty) const; - /// getPreIndexedAddressParts - 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. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits