[llvm] [CodeGen] Port WinEHPrepare to new pass manager (PR #74233)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 3 22:16:27 PST 2023


================
@@ -1206,15 +1220,12 @@ bool WinEHPrepare::prepareExplicitEH(Function &F) {
   LLVM_DEBUG(colorFunclets(F));
   LLVM_DEBUG(verifyPreparedFunclets(F));
 
-  BlockColors.clear();
----------------
arsenm wrote:

The pass may not be destructed between different runs of the pass, you should leave them 

https://github.com/llvm/llvm-project/pull/74233


More information about the llvm-commits mailing list