Using LLVM's legacy PM for optimization pipeline was deprecated in
13.0.0
and some rarely used pieces are being removed.
populateModulePassManager is a main API indicating legacy usage. Rename
and deprecate it to make users aware. Use a function attribute instead
of LLVM_ATTRIBUTE_DEPRECATED to allow warning suppression with #pragma
without worrying about MSVC.
This seems like an easy usage to replace?