forked from OSchip/llvm-project
parent
7c03d95725
commit
75b76c6a92
|
@ -614,7 +614,7 @@ static unsigned foldLogOpOfMaskedICmpsHelper(Value*& A,
|
||||||
} else if (R1->getType()->isIntegerTy()) {
|
} else if (R1->getType()->isIntegerTy()) {
|
||||||
if (!match(R1, m_And(m_Value(R11), m_Value(R12)))) {
|
if (!match(R1, m_And(m_Value(R11), m_Value(R12)))) {
|
||||||
// As before, model no mask as a trivial mask if it'll let us do an
|
// As before, model no mask as a trivial mask if it'll let us do an
|
||||||
// optimisation.
|
// optimization.
|
||||||
R11 = R1;
|
R11 = R1;
|
||||||
R12 = Constant::getAllOnesValue(R1->getType());
|
R12 = Constant::getAllOnesValue(R1->getType());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue