[llvm] [Attributor][FIX] Mark "may" accesses through call sites as such (PR #107439)
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 5 11:58:01 PDT 2024
================
@@ -1893,9 +1898,10 @@ ChangeStatus AAPointerInfoFloating::updateImpl(Attributor &A) {
DepClassTy::REQUIRED);
if (!CSArgPI)
return false;
- Changed =
- translateAndAddState(A, *CSArgPI, OffsetInfoMap[CurPtr], *CB) |
- Changed;
+ bool IsMustAcc = (getUnderlyingObject(CurPtr) == &AssociatedValue);
+ Changed = translateAndAddState(A, *CSArgPI, OffsetInfoMap[CurPtr], *CB,
----------------
jdoerfert wrote:
Didn't change it from the old style, can do that.
https://github.com/llvm/llvm-project/pull/107439
More information about the llvm-commits
mailing list