[PATCH] D98134: [RFC][POC] Introduce callback argument encoding mode into callback metadata

Shilei Tian via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 12 18:52:46 PST 2021


tianshilei1992 added inline comments.


================
Comment at: llvm/lib/IR/AbstractCallSite.cpp:209
+
+    if (!GEP || !GEP->hasOneUse())
+      return nullptr;
----------------
If we don't use have a size, `GEP` will be `nullptr` here, and we can just return it.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98134



More information about the cfe-commits mailing list