[llvm] [Attributor] Fix an issue that an access is skipped by mistake (PR #101862)

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 6 12:46:44 PDT 2024


================
@@ -1331,7 +1331,7 @@ struct AAPointerInfoImpl
         // itself either.
         bool Inserted = ExclusionSet.insert(&I).second;
 
-        if (!FnReachabilityAA ||
----------------
jdoerfert wrote:

We don't need to insert/remove if the Reachability AA is not present. Simply skip the entire thing.

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


More information about the llvm-commits mailing list