[llvm] [Attributor] Prevent infinite loop in AAGlobalValueInfoFloating (PR #94941)
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 10 04:08:43 PDT 2024
https://github.com/jdoerfert requested changes to this pull request.
The last time I tried to fix this was
https://github.com/llvm/llvm-project/commit/96da6dd6ba53bce5dbe822fe968c2b67ba9bc221#diff-1e57c839902157beb48b30b30060fd707592ec653aa770f817d6c25cf6092b88
I think this needs to go be similar, so, in checkForAllUses, as other places (not AAGlobalValueInfo) have the same problem at the end of the day.
So, above it checks for PHI users, we probably need to add non-init users.
https://github.com/llvm/llvm-project/pull/94941
More information about the llvm-commits
mailing list