[llvm] [Attributor]: allow more than one offset for a pass through user in AAPointerInfo (PR #94416)
Vidush Singhal via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 11:02:53 PDT 2024
================
@@ -1607,11 +1607,20 @@ ChangeStatus AAPointerInfoFloating::updateImpl(Attributor &A) {
//
// The RHS is a reference that may be invalidated by an insertion caused by
// the LHS. So we ensure that the side-effect of the LHS happens first.
+
+ if (!OffsetInfoMap.contains(Usr)) {
----------------
vidsinghal wrote:
I tried an assertion there like you had suggested, but that causes that assertion to fail at runtime for multiple tests.
https://github.com/llvm/llvm-project/pull/94416
More information about the llvm-commits
mailing list