forked from OSchip/llvm-project
[LoopFlatten] Disable IV widening
Disable widening of the IV in LoopFlatten while I investigate an assertion failures. Please note that the pass is also not yet enabled by default.
This commit is contained in:
parent
5bc0bd05e6
commit
fa5cb4b936
|
@ -66,7 +66,7 @@ static cl::opt<bool>
|
|||
|
||||
static cl::opt<bool>
|
||||
WidenIV("loop-flatten-widen-iv", cl::Hidden,
|
||||
cl::init(true),
|
||||
cl::init(false),
|
||||
cl::desc("Widen the loop induction variables, if possible, so "
|
||||
"overflow checks won't reject flattening"));
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
|
||||
; RUN: opt < %s -S -loop-flatten -verify-loop-info -verify-dom-info -verify-scev -verify | FileCheck %s --check-prefix=CHECK
|
||||
; RUN: opt < %s -S -loop-flatten -loop-flatten-widen-iv=true -verify-loop-info -verify-dom-info -verify-scev -verify | FileCheck %s --check-prefix=CHECK
|
||||
; RUN: opt < %s -S -loop-flatten -loop-flatten-widen-iv=false -verify-loop-info -verify-dom-info -verify-scev -verify | FileCheck %s --check-prefix=DONTWIDEN
|
||||
|
||||
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
|
||||
|
|
Loading…
Reference in New Issue