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:
parent
b601dcbed2
commit
ff4b2bbc49
@ -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…
Reference in New Issue
Block a user