mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-15 09:33:39 +00:00
Silence a compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55087 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
83785c8096
commit
ab5d5e360e
@ -3594,7 +3594,8 @@ Instruction *InstCombiner::visitAnd(BinaryOperator &I) {
|
|||||||
// where C is a power of 2
|
// where C is a power of 2
|
||||||
Value *A, *B;
|
Value *A, *B;
|
||||||
ConstantInt *C1, *C2;
|
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)),
|
if (match(&I, m_And(m_ICmp(LHSCC, m_Value(A), m_ConstantInt(C1)),
|
||||||
m_ICmp(RHSCC, m_Value(B), m_ConstantInt(C2)))))
|
m_ICmp(RHSCC, m_Value(B), m_ConstantInt(C2)))))
|
||||||
if (C1 == C2 && LHSCC == RHSCC && LHSCC == ICmpInst::ICMP_ULT &&
|
if (C1 == C2 && LHSCC == RHSCC && LHSCC == ICmpInst::ICMP_ULT &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user