[llvm] [Attributor] Prevent infinite loop in AAGlobalValueInfoFloating (PR #94941)
Vidush Singhal via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 11 06:55:31 PDT 2024
================
@@ -1749,6 +1749,10 @@ bool Attributor::checkForAllCallees(
return Pred(Callees.getArrayRef());
}
+bool noRevisitUser(const User *user) {
+ return isa<PHINode>(user) || !isa<Instruction>(user);
----------------
vidsinghal wrote:
Why do you pass UU.getuser() here instead of just UU?
https://github.com/llvm/llvm-project/pull/94941
More information about the llvm-commits
mailing list