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 | 54d7179a25f16db14155b7dac61c122780c3441a (patch) | |
tree | 366e2bb38ebab98d63252f16c04a828e29198529 /llvm/lib/VMCore/Instructions.cpp | |
parent | 7494b3b1d417435e6b8e276a4ac2e9a96e50b276 (diff) | |
download | bcm5719-llvm-54d7179a25f16db14155b7dac61c122780c3441a.tar.gz bcm5719-llvm-54d7179a25f16db14155b7dac61c122780c3441a.zip |
Remove ICmpInst::isSignedPredicate which was a reimplementation
CmpInst::isSigned.
llvm-svn: 85037
Diffstat (limited to 'llvm/lib/VMCore/Instructions.cpp')
-rw-r--r-- | llvm/lib/VMCore/Instructions.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp index b73ce505f22..c926547ad83 100644 --- a/llvm/lib/VMCore/Instructions.cpp +++ b/llvm/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 |