Skip to content

Commit bd8d478

Browse files
committed
!fixup use m_ExtractLastElement
1 parent d9498bc commit bd8d478

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1283,8 +1283,7 @@ static void simplifyRecipe(VPRecipeBase &R, VPTypeAnalysis &TypeInfo) {
12831283
return;
12841284
}
12851285

1286-
if (match(Def, m_CombineOr(m_VPInstruction<VPInstruction::ExtractLastElement>(
1287-
m_VPValue(A)),
1286+
if (match(Def, m_CombineOr(m_ExtractLastElement(m_VPValue(A)),
12881287
m_ExtractLastLanePerPart(m_VPValue(A)))) &&
12891288
((isa<VPInstruction>(A) && vputils::isSingleScalar(A)) ||
12901289
(isa<VPReplicateRecipe>(A) &&

0 commit comments

Comments
 (0)