[PATCH] D83370: [CallGraph] Ignore callback uses

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 12 15:01:56 PDT 2020


jdoerfert accepted this revision.
jdoerfert added inline comments.


================
Comment at: llvm/lib/IR/Function.cpp:1499
+      continue;
+
     const auto *Call = dyn_cast<CallBase>(FU);
----------------
jdoerfert wrote:
> You might need to inspect the ACS here. Check if it is really a callback callsite.
Nit: Put the ACS stuff into a conditional guarded by the ignore. Trying to create an ACS is not completely free.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D83370





More information about the llvm-commits mailing list