We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4223c9b commit ba0be69Copy full SHA for ba0be69
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
@@ -11279,12 +11279,12 @@ struct AAPotentialValuesArgument final : AAPotentialValuesImpl {
11279
ChangeStatus updateImpl(Attributor &A) override {
11280
auto AssumedBefore = getAssumed();
11281
11282
- unsigned CSArgNo = getCallSiteArgNo();
+ unsigned ArgNo = getCalleeArgNo();
11283
11284
bool UsedAssumedInformation = false;
11285
SmallVector<AA::ValueAndContext> Values;
11286
auto CallSitePred = [&](AbstractCallSite ACS) {
11287
- const auto CSArgIRP = IRPosition::callsite_argument(ACS, CSArgNo);
+ const auto CSArgIRP = IRPosition::callsite_argument(ACS, ArgNo);
11288
if (CSArgIRP.getPositionKind() == IRP_INVALID)
11289
return false;
11290
0 commit comments