[PATCH] D124063: [LegacyPM] Rename and deprecate populateModulePassManager

Arthur Eubanks via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 25 09:40:25 PDT 2022


aeubanks added a comment.

I'd first fix up as many in-tree users as nikic pointed out

(I'll work on bugpoint soonish since that requires a bit more work)



================
Comment at: llvm/include/llvm-c/Transforms/PassManagerBuilder.h:72
+#ifdef __GNUC__
+__attribute__((deprecated("Migrate to new pass manager for optimization pipeline. This header will be removed soon.")))
+#endif
----------------
can we use `llvm/include/llvm-c/Deprecated.h` for the C API here? looks like we only have on in-tree user in `llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp` that we should be able to clean up


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124063



More information about the cfe-commits mailing list