A bunch of cleanups and simplifications using the new PatternMatch predicates
authorChris Lattner <sabre@nondot.org>
Thu, 10 Feb 2011 05:14:58 +0000 (05:14 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 10 Feb 2011 05:14:58 +0000 (05:14 +0000)
commitb9b9044600a472d5f8750f43fd884e32e2afe4cc
tree224b7be20b8f710002b70634969faa8a2815fc23
parenta81556fb52e39e3f6cde0c11c1acd2bdf8a560a2
A bunch of cleanups and simplifications using the new PatternMatch predicates
and generally tidying things up.  Only very trivial functionality changes
like now doing (-1 - A) -> (~A) for vectors too.

 InstCombineAddSub.cpp |  296 +++++++++++++++++++++-----------------------------
 1 file changed, 126 insertions(+), 170 deletions(-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125264 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineAddSub.cpp