Skip to content

Commit 4307923

Browse files
committed
Remove unnecessary check
1 parent 0d69724 commit 4307923

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29318,8 +29318,7 @@ SDValue AArch64TargetLowering::LowerFixedLengthConcatVectorsToSVE(
2931829318
EVT SrcVT = SrcOp1.getValueType();
2931929319

2932029320
// Match a splat of 128b segments that fit in a single register.
29321-
if (SrcVT.is128BitVector() && all_equal(Op.getNode()->op_values()) &&
29322-
VT.getSizeInBits() <= Subtarget->getMinSVEVectorSizeInBits()) {
29321+
if (SrcVT.is128BitVector() && all_equal(Op.getNode()->op_values())) {
2932329322
EVT ContainerVT = getContainerForFixedLengthVector(DAG, VT);
2932429323
SDValue Splat =
2932529324
DAG.getNode(AArch64ISD::DUPLANE128, DL, ContainerVT,

0 commit comments

Comments
 (0)