[Reassociate] Don't canonicalize X - undef to X + (-undef).
authorChad Rosier <mcrosier@codeaurora.org>
Thu, 9 Oct 2014 20:06:29 +0000 (20:06 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Thu, 9 Oct 2014 20:06:29 +0000 (20:06 +0000)
commitc2bf8fbdf4c9f9cc6077f8cf97160eee4a1a5941
treed08edbac902a773909c8c817abcd614b8f9a656a
parent07200c4b6cc5bd48c7981f09065345cea646f634
[Reassociate] Don't canonicalize X - undef to X + (-undef).

Phabricator Revision: http://reviews.llvm.org/D5674
PR21205

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219434 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/Reassociate.cpp
test/Transforms/Reassociate/pr21205.ll [new file with mode: 0644]