Changes in directory llvm/include/llvm/Target:
TargetLowering.h updated: 1.113 -> 1.114 --- Log message: do not share old induction variables when this would result in invalid instructions (that would have to be split later) --- Diffs of the changes: (+10 -0) TargetLowering.h | 10 ++++++++++ 1 files changed, 10 insertions(+) Index: llvm/include/llvm/Target/TargetLowering.h diff -u llvm/include/llvm/Target/TargetLowering.h:1.113 llvm/include/llvm/Target/TargetLowering.h:1.114 --- llvm/include/llvm/Target/TargetLowering.h:1.113 Fri Mar 16 03:42:32 2007 +++ llvm/include/llvm/Target/TargetLowering.h Tue Mar 20 16:54:54 2007 @@ -875,6 +875,16 @@ /// scale of the target addressing mode for load / store of the given 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; + //===--------------------------------------------------------------------===// // Div utility functions // _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits