[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:14:26 PDT 2016


MatzeB added a subscriber: MatzeB.
MatzeB added a comment.

This change leads to compile time explosion in some cases where we have a sequence with a LOT of landing pads in the function. Because the BranchFolding code itself is already somewhat quadratic with the `do { foreachblock() } while(!changed);` pattern, this change makes the compiletime cubic in my example.


Repository:
  rL LLVM

http://reviews.llvm.org/D14996





More information about the llvm-commits mailing list