File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -2795,9 +2795,9 @@ class TargetLoweringBase {
27952795 // / possible to be done in the address mode for that operand. This hook lets
27962796 // / targets also pass back when this should be done on intrinsics which
27972797 // / load/store.
2798- virtual bool getAddrModeArguments (IntrinsicInst * /* I*/ ,
2799- SmallVectorImpl<Value*> &/* Ops*/ ,
2800- Type *&/* AccessTy*/ ) const {
2798+ virtual bool getAddrModeArguments (const IntrinsicInst * /* I*/ ,
2799+ SmallVectorImpl<Value *> & /* Ops*/ ,
2800+ Type *& /* AccessTy*/ ) const {
28012801 return false ;
28022802 }
28032803
Original file line number Diff line number Diff line change @@ -1486,7 +1486,7 @@ void SITargetLowering::CollectTargetIntrinsicOperands(
14861486 }
14871487}
14881488
1489- bool SITargetLowering::getAddrModeArguments(IntrinsicInst *II,
1489+ bool SITargetLowering::getAddrModeArguments(const IntrinsicInst *II,
14901490 SmallVectorImpl<Value *> &Ops,
14911491 Type *&AccessTy) const {
14921492 Value *Ptr = nullptr;
Original file line number Diff line number Diff line change @@ -315,9 +315,9 @@ class SITargetLowering final : public AMDGPUTargetLowering {
315315 SmallVectorImpl<SDValue> &Ops,
316316 SelectionDAG &DAG) const override ;
317317
318- bool getAddrModeArguments (IntrinsicInst * /* I */ ,
319- SmallVectorImpl<Value*> &/* Ops*/ ,
320- Type *&/* AccessTy*/ ) const override ;
318+ bool getAddrModeArguments (const IntrinsicInst *I ,
319+ SmallVectorImpl<Value *> &Ops,
320+ Type *&AccessTy) const override ;
321321
322322 bool isLegalFlatAddressingMode (const AddrMode &AM, unsigned AddrSpace) const ;
323323 bool isLegalGlobalAddressingMode (const AddrMode &AM) const ;
You can’t perform that action at this time.
0 commit comments