[PATCH] D118673: [Attributor] Introduce the `AA::isPotentiallyReachable` helper APIs

Kuter Dinel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 31 19:27:06 PST 2022


kuter added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/Attributor.cpp:471
+        return true;
+      continue;
+    }
----------------
I don't think this would work for recursive functions  when doing backwards reachability.
the next instruction might contain a call that will reach `ToI`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118673/new/

https://reviews.llvm.org/D118673



More information about the llvm-commits mailing list