[PATCH] D110775: Instantiate fewer templates in PassManager::addPass()

Reid Kleckner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 30 09:24:24 PDT 2021


rnk accepted this revision.
rnk added a comment.
This revision is now accepted and ready to land.

lgtm

I think I understand what's going on: these push_back instantiations are all common instantiations. They are pushing back `std::unique_ptr<ZZZConceptT>` objects. The emplace_back calls were all unique instantiations depending on the exact pass pointer type.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110775



More information about the llvm-commits mailing list