[PATCH] D115648: [LTO] Ignore unreachable virtual functions in WPD in thin LTO
    Teresa Johnson via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Tue Dec 14 18:14:26 PST 2021
    
    
  
tejohnson 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
+
----------------
You can combine all of these (ENABLESPLITFLAG, LIBENABLESPLITFLAG, etc) now into a single filecheck pattern.
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