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 {
2795
2795
// / possible to be done in the address mode for that operand. This hook lets
2796
2796
// / targets also pass back when this should be done on intrinsics which
2797
2797
// / 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 {
2801
2801
return false ;
2802
2802
}
2803
2803
Original file line number Diff line number Diff line change @@ -1486,7 +1486,7 @@ void SITargetLowering::CollectTargetIntrinsicOperands(
1486
1486
}
1487
1487
}
1488
1488
1489
- bool SITargetLowering::getAddrModeArguments(IntrinsicInst *II,
1489
+ bool SITargetLowering::getAddrModeArguments(const IntrinsicInst *II,
1490
1490
SmallVectorImpl<Value *> &Ops,
1491
1491
Type *&AccessTy) const {
1492
1492
Value *Ptr = nullptr;
Original file line number Diff line number Diff line change @@ -315,9 +315,9 @@ class SITargetLowering final : public AMDGPUTargetLowering {
315
315
SmallVectorImpl<SDValue> &Ops,
316
316
SelectionDAG &DAG) const override ;
317
317
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 ;
321
321
322
322
bool isLegalFlatAddressingMode (const AddrMode &AM, unsigned AddrSpace) const ;
323
323
bool isLegalGlobalAddressingMode (const AddrMode &AM) const ;
You can’t perform that action at this time.
0 commit comments