[PATCH] D28743: [PM] Teach the LoopPassManager to automatically canonicalize loops by runnig LCSSA over them prior to running the loop pipeline.
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 15 02:07:51 PST 2017
davide added inline comments.
================
Comment at: include/llvm/Transforms/Scalar/LoopPassManager.h:308-310
+ // Verify the loop structure and LCSSA form before visiting the loop.
+ L->verifyLoop();
+ L->isRecursivelyLCSSAForm(LAR.DT, LI);
----------------
These two can be a bit expensive. Maybe put them under `#ifndef NDEBUG` ?
https://reviews.llvm.org/D28743
More information about the llvm-commits
mailing list