[PATCH] D140837: [AAPointerInfo] fix assertion at the pass-through use of a pointer
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 2 08:08:52 PST 2023
arsenm added a comment.
In D140837#4021833 <https://reviews.llvm.org/D140837#4021833>, @sameerds wrote:
> In D140837#4021788 <https://reviews.llvm.org/D140837#4021788>, @arsenm wrote:
>
>> Testcase?
>
> I am not sure how to go about writing a reliable test for an invalidated reference into a container, especially a map. It would have to depend on possibly adding enough entries to cause a reallocation, or inserting keys in an order that causes earlier keys to be moved around. What would such a test actually check? That the invalidation "never" happens?
What does llvm-reduce give you if you just feet your original testcase to it?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140837/new/
https://reviews.llvm.org/D140837
More information about the llvm-commits
mailing list