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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to