[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.


Repository:
  rL LLVM

http://reviews.llvm.org/D14996





More information about the llvm-commits mailing list