[LoopUnroll] Don't verify domtree by default with +Asserts.
authorEli Friedman <efriedma@codeaurora.org>
Fri, 21 Dec 2018 01:28:49 +0000 (01:28 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Fri, 21 Dec 2018 01:28:49 +0000 (01:28 +0000)
commit3af2f534565caa91eaadb6e504847000db2673de
treea7a9ef49649fa503474189d9036fc27d35972ede
parent7b7813740382d6dc3eddc51f51d0428537f33b15
[LoopUnroll] Don't verify domtree by default with +Asserts.

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

Differential Revision: https://reviews.llvm.org/D54732

llvm-svn: 349871
llvm/lib/Transforms/Utils/LoopUnroll.cpp
llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp