[PATCH] D89015: [BlockExtract][NewPM] Port -extract-blocks to NPM

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 12:43:34 PDT 2020


aeubanks added inline comments.


================
Comment at: llvm/lib/Passes/PassRegistry.def:53
 MODULE_PASS("elim-avail-extern", EliminateAvailableExternallyPass())
+MODULE_PASS("extract-blocks", BlockExtractorPass())
 MODULE_PASS("forceattrs", ForceFunctionAttrsPass())
----------------
thakis wrote:
> nit: for most entries, the name matches the class name somewhat closely; here the words are flipped in name vs class name
I'm trying to match the legacy pass name for now, we can rename in the future after the NPM flip.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89015



More information about the llvm-commits mailing list