[Attributor] Allow AAs to iterate on their own state
authorJohannes Doerfert <johannes@jdoerfert.de>
Thu, 12 Jan 2023 01:47:14 +0000 (17:47 -0800)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 12 Jan 2023 07:49:10 +0000 (23:49 -0800)
commit9b7b5482fa01413a96fe79c42c3e67ee6730cf6d
tree7a568ff4dda4d9b5f1fcb07e72e00a37c72a2d87
parentd7be8227a84f95071911b60d32d751e8780dde12
[Attributor] Allow AAs to iterate on their own state

Future AAs might need to iterate their own state until they reach a
fixpoint. We do not want to forbid that but we want to avoid negative
effects or bugs once this happens. As a precaution, we now rerun an AA
that did not require outside information. If it does not change anymore
we are done, otherwise the AA needs to iterate some more.
llvm/lib/Transforms/IPO/Attributor.cpp