Move Sub simplifications and additional Add simplifications out of
authorDuncan Sands <baldrick@free.fr>
Wed, 15 Dec 2010 14:07:39 +0000 (14:07 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 15 Dec 2010 14:07:39 +0000 (14:07 +0000)
commitfea3b218d61708ea3577f4ef14c8f7677a94db95
tree571796a15314c0f6b38ba91fe520752cd13e4d83
parentf8b1a5ea9602bb65a5cf59d3d34f2851a08cdc3e
Move Sub simplifications and additional Add simplifications out of
instcombine and into InstructionSimplify.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121861 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/InstructionSimplify.h
lib/Analysis/InstructionSimplify.cpp
lib/Transforms/InstCombine/InstCombineAddSub.cpp
test/Analysis/BasicAA/modref.ll