[llvm] [CodeGen] Port WinEHPrepare to new pass manager (PR #74233)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 3 23:08:45 PST 2023
================
@@ -1206,15 +1220,12 @@ bool WinEHPrepare::prepareExplicitEH(Function &F) {
LLVM_DEBUG(colorFunclets(F));
LLVM_DEBUG(verifyPreparedFunclets(F));
- BlockColors.clear();
----------------
paperchalice wrote:
`BlockColors` and other members are moved into the wrapper pass `WinEHPrepareImpl`. `WinEHPrepare::runOnFunction` and `WinEHPreparePass::run` just create a local instance of `WinEHPrepareImpl`.
https://github.com/llvm/llvm-project/pull/74233
More information about the llvm-commits
mailing list