[PATCH] D116056: [LTO][WPD] Ignore unreachable function by analyzing IR.

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 20 16:55:06 PST 2021


luna updated this revision to Diff 395547.
luna added a comment.

Save one index lookup if function def is present for IR analysis. Also simplify test case.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D116056

Files:
  llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
  llvm/test/Transforms/WholeProgramDevirt/devirt_single_after_filtering_unreachable_function.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116056.395547.patch
Type: text/x-patch
Size: 5265 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211221/e85f9574/attachment.bin>


More information about the llvm-commits mailing list