[ValueTracking] Extract isKnownPositive [NFCI]
authorPhilip Reames <listmail@philipreames.com>
Wed, 9 Mar 2016 21:31:47 +0000 (21:31 +0000)
committerPhilip Reames <listmail@philipreames.com>
Wed, 9 Mar 2016 21:31:47 +0000 (21:31 +0000)
commit8f12eba78d7ef7cd849af8e6658e6a20c6f6f772
tree394453df7083c9113b4d4b1676f6a209e24008cb
parent2b4df612ecb3503cb849231f96e2b90f8db546fe
[ValueTracking] Extract isKnownPositive [NFCI]

Extract out a generic interface from a recently landed patch and document a TODO in case compile time becomes a problem.

llvm-svn: 263062
llvm/include/llvm/Analysis/ValueTracking.h
llvm/lib/Analysis/ValueTracking.cpp
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp