[llvm] [Attributor] Prevent infinite loop in AAGlobalValueInfoFloating (PR #94941)

Vidush Singhal via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 09:28:27 PDT 2024


================
@@ -1749,6 +1749,10 @@ bool Attributor::checkForAllCallees(
   return Pred(Callees.getArrayRef());
 }
 
+bool noRevisitUser(const User *user) {
----------------
vidsinghal wrote:

Is there a better name for this function as this is not really checking the revisiting of a node as the Visited map does. But rather checking for uses that are not instructions. 

https://github.com/llvm/llvm-project/pull/94941


More information about the llvm-commits mailing list