Rip min/max pattern matching out of InstCombine and into
authorJames Molloy <james.molloy@arm.com>
Mon, 11 May 2015 14:42:20 +0000 (14:42 +0000)
committerJames Molloy <james.molloy@arm.com>
Mon, 11 May 2015 14:42:20 +0000 (14:42 +0000)
commit2605531fe81699773689501dac8b8303ade6bfab
tree2344af4511b3458078cfad928cfdf6991263c2b9
parent0a623596466d3f307184467121c6e0641b21266e
Rip min/max pattern matching out of InstCombine and into
 ValueTracking.

This matching functionality is useful in more than just InstCombine, so
make it available in ValueTracking.

NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236998 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ValueTracking.h
lib/Analysis/ValueTracking.cpp
lib/Transforms/InstCombine/InstCombineInternal.h
lib/Transforms/InstCombine/InstCombineSelect.cpp