diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-24 20:13:13 +0000 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-24 20:13:13 +0000 |
| commit | f1ffc4305dd17ecead3079a4473103c28fdbe410 (patch) | |
| tree | 0934f05f1224836c227ad8de1a2b333eab6d666b /llvm/lib/Transforms | |
| parent | 2aa800052aeaa3fffa703ea3b914cc0fa6b42e40 (diff) | |
| download | bcm5719-llvm-f1ffc4305dd17ecead3079a4473103c28fdbe410.tar.gz bcm5719-llvm-f1ffc4305dd17ecead3079a4473103c28fdbe410.zip | |
[CVP] Reenable nowrap flag inference
Inference of nowrap flags in CVP has been disabled, because it
triggered a bug in LFTR (https://bugs.llvm.org/show_bug.cgi?id=31181).
This issue has been fixed in D60935, so we should be able to reenable
nowrap flag inference now.
Differential Revision: https://reviews.llvm.org/D62776
llvm-svn: 364228
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp b/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp index 17a8972c6fe..8ec071536ec 100644 --- a/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp +++ b/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp @@ -66,7 +66,7 @@ STATISTIC(NumOverflows, "Number of overflow checks removed"); STATISTIC(NumSaturating, "Number of saturating arithmetics converted to normal arithmetics"); -static cl::opt<bool> DontAddNoWrapFlags("cvp-dont-add-nowrap-flags", cl::init(true)); +static cl::opt<bool> DontAddNoWrapFlags("cvp-dont-add-nowrap-flags", cl::init(false)); namespace { |

