diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-20 23:36:48 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-20 23:36:48 +0000 |
commit | f5a7e51c8164e6ae98bc844ab4b0b44d30be02e9 (patch) | |
tree | 3eabf6cceb2214648aa27f9aa0679c263cd03fda | |
parent | b9e5bed4dd73655a22f52df2d0160d53addda638 (diff) | |
download | bcm5719-llvm-f5a7e51c8164e6ae98bc844ab4b0b44d30be02e9.tar.gz bcm5719-llvm-f5a7e51c8164e6ae98bc844ab4b0b44d30be02e9.zip |
Silence a compiler warning.
llvm-svn: 55087
-rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 403d6aad3b1..bc77ad5bf2b 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp @@ -3594,7 +3594,8 @@ Instruction *InstCombiner::visitAnd(BinaryOperator &I) { // where C is a power of 2 Value *A, *B; ConstantInt *C1, *C2; - ICmpInst::Predicate LHSCC, RHSCC; + ICmpInst::Predicate LHSCC = ICmpInst::BAD_ICMP_PREDICATE; + ICmpInst::Predicate RHSCC = ICmpInst::BAD_ICMP_PREDICATE; if (match(&I, m_And(m_ICmp(LHSCC, m_Value(A), m_ConstantInt(C1)), m_ICmp(RHSCC, m_Value(B), m_ConstantInt(C2))))) if (C1 == C2 && LHSCC == RHSCC && LHSCC == ICmpInst::ICMP_ULT && |