[PATCH] D71308: [CallPromotionUtils] Add tryPromoteCall.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 13:55:59 PST 2020


yamauchi added inline comments.


================
Comment at: llvm/lib/Transforms/Utils/CallPromotionUtils.cpp:508
+                                     *M);
+  if (!Ptr)
+    return false; // No constant (function) pointer found.
----------------
davidxl wrote:
> Is this possible?
I think so. It's possible that some ill-formed vtable or the entry contains a null (function) pointer.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71308





More information about the llvm-commits mailing list