[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 15:04:34 PST 2021


luna created this revision.
Herald added subscribers: ormris, hiraditya, inglorion.
luna updated this revision to Diff 395525.
luna added a comment.
luna updated this revision to Diff 395526.
luna added a reviewer: tejohnson.
luna published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Combine `if` into `&&`.


luna added a comment.

Resolve a compile error.


In regular LTO, analyze IR and discard unreachable functions when finding virtual call targets.


Repository:
  rG LLVM Github Monorepo

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.395526.patch
Type: text/x-patch
Size: 5795 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211220/af53eb09/attachment.bin>


More information about the llvm-commits mailing list