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 | b0796c6d1dbaef83b400f53bee71f2dff0bff22e (patch) | |
tree | 181f785013801636933b7905fb391d7d8f98a9e3 /lib/Target/CBackend | |
parent | 36d0d2030275df7b40226a7979c6d7424955a2f6 (diff) | |
download | external_llvm-b0796c6d1dbaef83b400f53bee71f2dff0bff22e.zip external_llvm-b0796c6d1dbaef83b400f53bee71f2dff0bff22e.tar.gz external_llvm-b0796c6d1dbaef83b400f53bee71f2dff0bff22e.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/CBackend')
-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(); |