[Attributor][FIX] Add a missing dependence track in noalias deduction
This commit is contained in:
parent
ba5500f27a
commit
d9bf79f4e9
@ -2812,6 +2812,8 @@ struct AANoAliasCallSiteArgument final : AANoAliasImpl {
|
||||
return false;
|
||||
}
|
||||
|
||||
A.recordDependence(NoAliasAA, *this, DepClassTy::OPTIONAL);
|
||||
|
||||
const IRPosition &VIRP = IRPosition::value(getAssociatedValue());
|
||||
auto &NoCaptureAA =
|
||||
A.getAAFor<AANoCapture>(*this, VIRP, /* TrackDependence */ false);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user