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)
commit71b91c2dbaea500cf86ef652f0e8e66e22289900
treea68e34533d64e728b210e77bbc902f27f5b8102b
parent8841b0329034ec81c3db0344b903a305b9710a09
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.

llvm-svn: 236998
llvm/include/llvm/Analysis/ValueTracking.h
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp