Skip to content

Commit ba0be69

Browse files
committed
[Attributor][NFC] Rename variable to be less confusing
1 parent 4223c9b commit ba0be69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/IPO/AttributorAttributes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11279,12 +11279,12 @@ struct AAPotentialValuesArgument final : AAPotentialValuesImpl {
1127911279
ChangeStatus updateImpl(Attributor &A) override {
1128011280
auto AssumedBefore = getAssumed();
1128111281

11282-
unsigned CSArgNo = getCallSiteArgNo();
11282+
unsigned ArgNo = getCalleeArgNo();
1128311283

1128411284
bool UsedAssumedInformation = false;
1128511285
SmallVector<AA::ValueAndContext> Values;
1128611286
auto CallSitePred = [&](AbstractCallSite ACS) {
11287-
const auto CSArgIRP = IRPosition::callsite_argument(ACS, CSArgNo);
11287+
const auto CSArgIRP = IRPosition::callsite_argument(ACS, ArgNo);
1128811288
if (CSArgIRP.getPositionKind() == IRP_INVALID)
1128911289
return false;
1129011290

0 commit comments

Comments
 (0)