[PATCH] D111582: [clang] Clear IR analyses before codegen pipeline

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 12 09:20:23 PDT 2021


dblaikie added a comment.

Any chance of refactoring this code so naturally these objects are lexically scoped to their necessary lifetime, and just cease to exist before the code gen passes are run? (looks like this function is pretty long and might benefit from being broken up into pieces anyway - and one of those pieces could have these managers as locals, and return once that work is done, before the code gen work is started?)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111582



More information about the cfe-commits mailing list