[PATCH] D153655: [LTO][GlobalDCE] Use pass parameter instead of module flag for LTO phase
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 23 14:53:46 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/lib/Passes/PassBuilder.cpp:675
+Expected<bool> parseGlobalDCEPassOptions(StringRef Params) {
+ return parseSinglePassOption(Params, "in-lto-post-link", "InLTOPostLink");
+}
----------------
tejohnson wrote:
> arsenm wrote:
> > aeubanks wrote:
> > > `GlobalDCE`
> > Can you use a name descriptive of the behavior change, rather than the why/where?
> Looks like it is supposed to be the pass name, fixed.
I mean "in-lto-post-link" doesn't tell me how the pass is going to behave differently. I mean something like handle-vtable-something or skip-something
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153655/new/
https://reviews.llvm.org/D153655
More information about the llvm-commits
mailing list