diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/lib/Analysis/ScalarEvolution.cpp @@ -142,8 +142,11 @@ STATISTIC(NumBruteForceTripCountsComputed, "Number of loops with trip counts computed by force"); -// FIXME: Enable this with EXPENSIVE_CHECKS when the test suite is clean. +#ifdef EXPENSIVE_CHECKS +bool llvm::VerifySCEV = true; +#else bool llvm::VerifySCEV = false; +#endif static cl::opt MaxBruteForceIterations("scalar-evolution-max-iterations", cl::ReallyHidden,