diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2009-10-25 05:20:17 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2009-10-25 05:20:17 +0000 |
commit | 4a134afaef984c403f6d6b1da4d301666d899b92 (patch) | |
tree | 181f785013801636933b7905fb391d7d8f98a9e3 /lib/VMCore | |
parent | 44df023d5f56e301d6280df20e36e68b1c4a761e (diff) | |
download | external_llvm-4a134afaef984c403f6d6b1da4d301666d899b92.zip external_llvm-4a134afaef984c403f6d6b1da4d301666d899b92.tar.gz external_llvm-4a134afaef984c403f6d6b1da4d301666d899b92.tar.bz2 |
Remove ICmpInst::isSignedPredicate which was a reimplementation
CmpInst::isSigned.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Instructions.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index b73ce50..c926547 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/VMCore/Instructions.cpp @@ -2859,17 +2859,6 @@ ICmpInst::Predicate ICmpInst::getUnsignedPredicate(Predicate pred) { } } -bool ICmpInst::isSignedPredicate(Predicate pred) { - switch (pred) { - default: assert(! "Unknown icmp predicate!"); - case ICMP_SGT: case ICMP_SLT: case ICMP_SGE: case ICMP_SLE: - return true; - case ICMP_EQ: case ICMP_NE: case ICMP_UGT: case ICMP_ULT: - case ICMP_UGE: case ICMP_ULE: - return false; - } -} - /// Initialize a set of values that all satisfy the condition with C. /// ConstantRange |