1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

[Attributor][FIX] Add a missing dependence track in noalias deduction

This commit is contained in:
Hideto Ueno 2020-03-12 15:25:24 +00:00
parent b601dcbed2
commit ff4b2bbc49

View File

@ -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);