diff options
author | Max Kazantsev <mkazantsev@azul.com> | 2020-10-09 18:28:12 +0700 |
---|---|---|
committer | Max Kazantsev <mkazantsev@azul.com> | 2020-10-09 18:32:03 +0700 |
commit | 225df71951cb7b870d078167de1a375a674c79df (patch) | |
tree | 27366ae35011dc5026ee7494dc9af46abf795cd5 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 8bdbe29519236b0dc6a701deb455440c336f2773 (diff) | |
download | llvm-225df71951cb7b870d078167de1a375a674c79df.zip llvm-225df71951cb7b870d078167de1a375a674c79df.tar.gz llvm-225df71951cb7b870d078167de1a375a674c79df.tar.bz2 |
[NFC] Add option to disable IV widening if needed
IV widening is sometimes a strictly harmful transform (some examples
of this are shown in tests 11, 12 in widen-loop-comp.ll). One of the
reasons of this is that sometimes SCEV fails to prove some facts after
part of guards has been widened.
Though each single such case looks like a bug that can be addressed,
it seems that disabling of IV widening may be profitable in some cases.
We want to have an option to do so. By default, existing behavior is
preserved and IV widening is on.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions