[PATCH] D54732: [LoopUnroll] Don't verify domtree by default with +Asserts.

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 20 11:11:21 PST 2018


kuhar accepted this revision.
kuhar added inline comments.


================
Comment at: lib/Transforms/Utils/LoopUnrollPeel.cpp:617
       if (Iter == 0)
         DT->changeImmediateDominator(Exit, cast<BasicBlock>(LVMap[Latch]));
+#ifdef EXPENSIVE_CHECKS
----------------
It would be interesting to see if replacing this with the DomTreeUpdater affects performance much.


Repository:
  rL LLVM

https://reviews.llvm.org/D54732





More information about the llvm-commits mailing list