[llvm-commits] [llvm] r52967 - in /llvm/trunk: include/llvm/Analysis/Dominators.h include/llvm/Pass.h include/llvm/PassManagers.h lib/Analysis/LoopPass.cpp lib/VMCore/PassManager.cpp

Chris Lattner clattner at apple.com
Tue Jul 1 11:41:07 PDT 2008


On Jul 1, 2008, at 10:44 AM, Devang Patel wrote:
> @@ -234,6 +234,9 @@
>       recordAvailableAnalysis(P);
>       removeDeadPasses(P, "", ON_LOOP_MSG);
>
> +      // Verify dominator information if it is available and  
> preserved.
> +      verifyDomInfo(*LP, F);

Please make the comment be something like "if -verify-dom-info is  
enabled, do verification" to make it more obvious that this only  
conditionally happens.

This is very cool, hopefully it will find lots of bugs :)  Thanks  
Devang,

-Chris





More information about the llvm-commits mailing list