summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2017-04-24 02:35:19 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2017-04-24 02:35:19 +0000
commit0cdcdf018eab844792cd82de4a90c85d400a067c (patch)
treefc6804ee29e69e3459f5d97176206e741ab089ee /llvm/lib/Analysis
parent9f40457d61dc8285e454d688e9062c5813299341 (diff)
downloadbcm5719-llvm-0cdcdf018eab844792cd82de4a90c85d400a067c.tar.gz
bcm5719-llvm-0cdcdf018eab844792cd82de4a90c85d400a067c.zip
Revert "[SCEV] Enable SCEV verification by default in EXPENSIVE_CHECKS builds"
This reverts commit r301150. It breaks CodeGen/Hexagon/hwloop-wrap2.ll, reverting while I investigate. llvm-svn: 301154
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp13
1 files changed, 3 insertions, 10 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index a5234b4e9b9..1cc055457ac 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -114,16 +114,9 @@ MaxBruteForceIterations("scalar-evolution-max-iterations", cl::ReallyHidden,
cl::init(100));
// FIXME: Enable this with EXPENSIVE_CHECKS when the test suite is clean.
-static cl::opt<bool> VerifySCEV(
- "verify-scev",
- cl::desc("Verify ScalarEvolution's backedge taken counts (slow)"),
-#ifdef EXPENSIVE_CHECKS
- cl::init(true)
-#else
- cl::init(false)
-#endif
- );
-
+static cl::opt<bool>
+VerifySCEV("verify-scev",
+ cl::desc("Verify ScalarEvolution's backedge taken counts (slow)"));
static cl::opt<bool>
VerifySCEVMap("verify-scev-maps",
cl::desc("Verify no dangling value in ScalarEvolution's "
OpenPOWER on IntegriCloud