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/Target | |
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/Target')
-rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index cbf769b..27ed5c3 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(); |