Skip to content

Commit d07f48e

Browse files
authored
[VPlan] Use m_BinaryOr matcher for clarity (NFC) (llvm#151541)
1 parent a90d653 commit d07f48e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1413,7 +1413,7 @@ static bool optimizeVectorInductionWidthForTCAndVFUF(VPlan &Plan,
14131413
static bool isConditionTrueViaVFAndUF(VPValue *Cond, VPlan &Plan,
14141414
ElementCount BestVF, unsigned BestUF,
14151415
ScalarEvolution &SE) {
1416-
if (match(Cond, m_Binary<Instruction::Or>(m_VPValue(), m_VPValue())))
1416+
if (match(Cond, m_BinaryOr(m_VPValue(), m_VPValue())))
14171417
return any_of(Cond->getDefiningRecipe()->operands(), [&Plan, BestVF, BestUF,
14181418
&SE](VPValue *C) {
14191419
return isConditionTrueViaVFAndUF(C, Plan, BestVF, BestUF, SE);

0 commit comments

Comments
 (0)