Skip to content

Commit 043a9ba

Browse files
committed
Remove backend promotion
1 parent 6dc11d9 commit 043a9ba

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28275,22 +28275,6 @@ void AArch64TargetLowering::ReplaceNodeResults(
2827528275
case ISD::GET_ACTIVE_LANE_MASK:
2827628276
ReplaceGetActiveLaneMaskResults(N, Results, DAG);
2827728277
return;
28278-
case ISD::LOOP_DEPENDENCE_WAR_MASK:
28279-
case ISD::LOOP_DEPENDENCE_RAW_MASK: {
28280-
EVT VT = N->getValueType(0);
28281-
if (!VT.isFixedLengthVector() || VT.getVectorElementType() != MVT::i1)
28282-
return;
28283-
28284-
// NOTE: Only trivial type promotion is supported.
28285-
EVT NewVT = getTypeToTransformTo(*DAG.getContext(), VT);
28286-
if (NewVT.getVectorNumElements() != VT.getVectorNumElements())
28287-
return;
28288-
28289-
SDLoc DL(N);
28290-
auto V = DAG.getNode(N->getOpcode(), DL, NewVT, N->ops());
28291-
Results.push_back(DAG.getNode(ISD::TRUNCATE, DL, VT, V));
28292-
return;
28293-
}
2829428278
case ISD::INTRINSIC_WO_CHAIN: {
2829528279
EVT VT = N->getValueType(0);
2829628280

0 commit comments

Comments
 (0)