[PATCH] D111582: [clang] Teardown new PM data structures before running codegen pipeline

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 12 12:22:32 PDT 2021


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

Looks great!



================
Comment at: clang/lib/CodeGen/BackendUtil.cpp:1441-1442
-
-  // FIXME: We still use the legacy pass manager to do code generation. We
-  // create that pass manager here and use it as needed below.
-  legacy::PassManager CodeGenPasses;
----------------
Looks like this comment got lost - might be worth preserving in `RunCodegenPipeline`


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