[PATCH] D69591: Devirtualize a call on alloca without waiting for post inline cleanup and next DevirtSCCRepeatedPass iteration.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 15:20:37 PST 2019


yamauchi marked an inline comment as done.
yamauchi added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/Inliner.cpp:897
+static void tryPromoteCall(CallSite &CS) {
+  assert(!CS.getCalledFunction());
+  Module *M = CS.getCaller()->getParent();
----------------
yamauchi wrote:
> davidxl wrote:
> > The pattern recognition part can be extracted as a utility/helper function and put int perhaps IndirectCallPromotionAnalysis.h|cpp file.
> Will try.
Done.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69591





More information about the llvm-commits mailing list