This patch removed duplicate code for matching patterns
authorDinesh Dwivedi <dinesh.d@samsung.com>
Thu, 26 Jun 2014 08:57:33 +0000 (08:57 +0000)
committerDinesh Dwivedi <dinesh.d@samsung.com>
Thu, 26 Jun 2014 08:57:33 +0000 (08:57 +0000)
commitc2b11baf5fdb26c2bf2c9b02dae9f0f0f61e9f1b
tree198b3f7ece1863cdf8dd98b946bf445efb0abec9
parent0bf7c06b639902b378702eed907821f0235a337a
This patch removed duplicate code for matching patterns
which are now handled in SimplifyUsingDistributiveLaws()
(after r211261)

Differential Revision: http://reviews.llvm.org/D4253

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211768 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/InstructionSimplify.cpp
lib/Transforms/InstCombine/InstCombineAddSub.cpp
test/Transforms/InstCombine/distribute.ll [new file with mode: 0644]
test/Transforms/InstSimplify/2010-12-20-Distribute.ll [deleted file]