We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6049e6 commit bea329eCopy full SHA for bea329e
llvm/lib/Transforms/IPO/AttributorAttributes.cpp
@@ -1608,11 +1608,15 @@ ChangeStatus AAPointerInfoFloating::updateImpl(Attributor &A) {
1608
//
1609
// The RHS is a reference that may be invalidated by an insertion caused by
1610
// the LHS. So we ensure that the side-effect of the LHS happens first.
1611
+
1612
+ assert(OffsetInfoMap.contains(CurPtr) &&
1613
+ "CurPtr does not exist in the map!");
1614
1615
auto &UsrOI = OffsetInfoMap[Usr];
1616
auto &PtrOI = OffsetInfoMap[CurPtr];
1617
assert(!PtrOI.isUnassigned() &&
1618
"Cannot pass through if the input Ptr was not visited!");
- UsrOI = PtrOI;
1619
+ UsrOI.merge(PtrOI);
1620
Follow = true;
1621
return true;
1622
};
0 commit comments