mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 01:26:41 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301154 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
545de00b4b
commit
86b13b4b4f
@ -114,16 +114,9 @@ MaxBruteForceIterations("scalar-evolution-max-iterations", cl::ReallyHidden,
|
|||||||
cl::init(100));
|
cl::init(100));
|
||||||
|
|
||||||
// FIXME: Enable this with EXPENSIVE_CHECKS when the test suite is clean.
|
// FIXME: Enable this with EXPENSIVE_CHECKS when the test suite is clean.
|
||||||
static cl::opt<bool> VerifySCEV(
|
static cl::opt<bool>
|
||||||
"verify-scev",
|
VerifySCEV("verify-scev",
|
||||||
cl::desc("Verify ScalarEvolution's backedge taken counts (slow)"),
|
cl::desc("Verify ScalarEvolution's backedge taken counts (slow)"));
|
||||||
#ifdef EXPENSIVE_CHECKS
|
|
||||||
cl::init(true)
|
|
||||||
#else
|
|
||||||
cl::init(false)
|
|
||||||
#endif
|
|
||||||
);
|
|
||||||
|
|
||||||
static cl::opt<bool>
|
static cl::opt<bool>
|
||||||
VerifySCEVMap("verify-scev-maps",
|
VerifySCEVMap("verify-scev-maps",
|
||||||
cl::desc("Verify no dangling value in ScalarEvolution's "
|
cl::desc("Verify no dangling value in ScalarEvolution's "
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; REQUIRES: asserts
|
; REQUIRES: asserts
|
||||||
; RUN: opt < %s -loop-unswitch -stats -disable-output 2>&1 | grep "1 loop-unswitch[ ]*-[ ]*Number of branches unswitched" | count 1
|
; RUN: opt < %s -loop-unswitch -stats -disable-output 2>&1 | grep "1 loop-unswitch - Number of branches unswitched" | count 1
|
||||||
; PR 3170
|
; PR 3170
|
||||||
define i32 @a(i32 %x, i32 %y) nounwind {
|
define i32 @a(i32 %x, i32 %y) nounwind {
|
||||||
entry:
|
entry:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user