aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/CBackend
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2009-10-25 05:20:17 +0000
committerNick Lewycky <nicholas@mxc.ca>2009-10-25 05:20:17 +0000
commit4a134afaef984c403f6d6b1da4d301666d899b92 (patch)
tree181f785013801636933b7905fb391d7d8f98a9e3 /lib/Target/CBackend
parent44df023d5f56e301d6280df20e36e68b1c4a761e (diff)
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/Target/CBackend')
-rw-r--r--lib/Target/CBackend/CBackend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp
index cbf769bf01..27ed5c3ea8 100644
--- a/lib/Target/CBackend/CBackend.cpp
+++ b/lib/Target/CBackend/CBackend.cpp
@@ -1627,7 +1627,7 @@ void CWriter::writeOperandWithCast(Value* Operand, const ICmpInst &Cmp) {
}
// Should this be a signed comparison? If so, convert to signed.
- bool castIsSigned = Cmp.isSignedPredicate();
+ bool castIsSigned = Cmp.isSigned();
// If the operand was a pointer, convert to a large integer type.
const Type* OpTy = Operand->getType();