[PATCH] D115648: [LTO] Ignore unreachable virtual functions in WPD in thin LTO

Mingming Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 14 18:23:10 PST 2021


luna added inline comments.


================
Comment at: llvm/test/ThinLTO/X86/devirt_after_filtering_unreachable.ll:11
+; RUN: llvm-dis -o - %t-main.bc.0 | FileCheck %s --check-prefix=ENABLESPLITFLAG
+; ENABLESPLITFLAG: gv: (name: "_ZN4BaseD0Ev", {{.*}}, funcFlags: ({{.*}} mustBeUnreachable: 1
+
----------------
tejohnson wrote:
> You can combine all of these (ENABLESPLITFLAG, LIBENABLESPLITFLAG, etc) now into a single filecheck pattern.
(Saw this after previous reply) Done by sharing the pattern between two filecheck lines.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115648



More information about the cfe-commits mailing list