@@ -3853,7 +3853,7 @@ struct AANoAlias
3853
3853
3854
3854
// / See AbstractAttribute::isValidIRPositionForInit
3855
3855
static bool isValidIRPositionForInit (Attributor &A, const IRPosition &IRP) {
3856
- if (!IRP.getAssociatedType ()->isPtrOrPtrVectorTy ())
3856
+ if (!IRP.getAssociatedType ()->isPointerTy ())
3857
3857
return false ;
3858
3858
return IRAttribute::isValidIRPositionForInit (A, IRP);
3859
3859
}
@@ -4220,7 +4220,7 @@ struct AADereferenceable
4220
4220
4221
4221
// / See AbstractAttribute::isValidIRPositionForInit
4222
4222
static bool isValidIRPositionForInit (Attributor &A, const IRPosition &IRP) {
4223
- if (!IRP.getAssociatedType ()->isPtrOrPtrVectorTy ())
4223
+ if (!IRP.getAssociatedType ()->isPointerTy ())
4224
4224
return false ;
4225
4225
return IRAttribute::isValidIRPositionForInit (A, IRP);
4226
4226
}
@@ -4364,7 +4364,7 @@ struct AANoCapture
4364
4364
4365
4365
// / See AbstractAttribute::isValidIRPositionForInit
4366
4366
static bool isValidIRPositionForInit (Attributor &A, const IRPosition &IRP) {
4367
- if (!IRP.getAssociatedType ()->isPtrOrPtrVectorTy ())
4367
+ if (!IRP.getAssociatedType ()->isPointerTy ())
4368
4368
return false ;
4369
4369
return IRAttribute::isValidIRPositionForInit (A, IRP);
4370
4370
}
@@ -4635,8 +4635,7 @@ struct AAMemoryBehavior
4635
4635
4636
4636
// / See AbstractAttribute::isValidIRPositionForInit
4637
4637
static bool isValidIRPositionForInit (Attributor &A, const IRPosition &IRP) {
4638
- if (!IRP.isFunctionScope () &&
4639
- !IRP.getAssociatedType ()->isPtrOrPtrVectorTy ())
4638
+ if (!IRP.isFunctionScope () && !IRP.getAssociatedType ()->isPointerTy ())
4640
4639
return false ;
4641
4640
return IRAttribute::isValidIRPositionForInit (A, IRP);
4642
4641
}
0 commit comments