domtree verification is linear in the size of the function, so it can cause a quadratic compile-time explosion in a function with many loops to unroll.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM. Given this is under EXPENSIVE_CHECK, we might consider a more thorough verification?
lib/Transforms/Utils/LoopUnrollPeel.cpp | ||
---|---|---|
617 ↗ | (On Diff #174699) | It would be interesting to see if replacing this with the DomTreeUpdater affects performance much. |