[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 19:22:59 PST 2021
tejohnson added inline comments.
================
Comment at: llvm/test/ThinLTO/X86/devirt_after_filtering_unreachable.ll:16
+
+; ENABLESPLITFLAG: gv: (name: "_ZN4BaseD0Ev", {{.*}}, funcFlags: ({{.*}} mustBeUnreachable: 1
+
----------------
I think it can be shared with the equivalent checks in the unsplit case as well. And probably with a check-prefix name that reflects what is being checked (e.g. UNREACHABLEFLAG), or maybe something simpler (e.g. FLAG).
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