[PATCH] D14996: [WinEH] Avoid infinite loop in BranchFolding for multiple single block funclets

Joseph Tremoulet via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 30 08:39:44 PST 2015


JosephTremoulet added a comment.

It seems odd to me that the fix specifically checks for EHFuncletEntry blocks.  Isn't this a more general problem with the algorithm?  I.e., wouldn't it fail for any two blocks that can't have fall-through to or from them, and won't it still fail with your fix if the same function has a single-block funclet and a non-funclet block that can't have fall-through to or from it?


Repository:
  rL LLVM

http://reviews.llvm.org/D14996





More information about the llvm-commits mailing list