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

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 5 15:32:00 PDT 2016

MatzeB added a comment.

I also do not quite understand what the code intends to do. Glancing at the code this purely looks like an optimization to me (if that is true we could maybe bound it to a fixed number of blocks that is skipped).
However the reasoning given here is that this fixed endless loops, but at least with current ToT the testcase passes without a problem when I remove the loop.



More information about the llvm-commits mailing list