Revert "[CVP] Simplify non-overflowing saturating add/sub"
authorNikita Popov <nikita.ppv@gmail.com>
Fri, 31 May 2019 19:04:47 +0000 (19:04 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 31 May 2019 19:04:47 +0000 (19:04 +0000)
commitccb63e0bfe169a9adadccc01ec0c9f2bdb0f6e86
tree8db6b7eab1abd459d64531b9f62f9b8c2ad1883e
parent51e0de6954a993f4647d16a243494139043dc105
Revert "[CVP] Simplify non-overflowing saturating add/sub"

This reverts commit 1e692d1777ae34dcb93524b5798651a29defae09.

Causes assertion failure in builtins-wasm.c clang test.

llvm-svn: 362254
llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
llvm/test/Transforms/CorrelatedValuePropagation/overflows.ll