[PATCH] D70147: Repeat DevirtSCCRepeatedPass if new indirect calls are found.

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 14:15:04 PST 2019


davidxl added a comment.

Around line 1323 of InlineCost.cpp, there is code that detects if the new indirect callsites can become direct sites after inlining. This information can be passed back to the caller (via GetInlineCost and shouldInline interfaces).  WIth that, I think the compile time impact can be minimized.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70147





More information about the llvm-commits mailing list