[ValueTracking] Remove untested / unreachable code, NFC
authorSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 11 Nov 2015 00:16:41 +0000 (00:16 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Wed, 11 Nov 2015 00:16:41 +0000 (00:16 +0000)
commit0e67289a03b5492557c593edcb5fe76be5f67ff3
tree4b3f8c258e2fa7350c19e9dcd4f2ac8f06e2da8a
parent6178878323061281473ad1827b1e666ab3faadcf
[ValueTracking] Remove untested / unreachable code, NFC

Right now isTruePredicate is only ever called with Pred == ICMP_SLE or
ICMP_ULE, and the ICMP_SLT and ICMP_ULT cases are dead.  This change
removes the untested dead code so that the function is not misleading.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252676 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp