diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index 338117348b0a..94c4249142f8 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/lib/Analysis/ScalarEvolution.cpp @@ -142,8 +142,11 @@ STATISTIC(NumTripCountsNotComputed, 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,