Skip to content

Commit 29d1d34

Browse files
author
Simon Moll
committed
[VE] fixup LEGALAVL
1 parent ab3141f commit 29d1d34

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

llvm/lib/Target/VE/VVPCombine.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,6 @@ SDValue VETargetLowering::combineVVP(SDNode *N, DAGCombinerInfo &DCI) const {
214214
break;
215215
MVT ResVT = N->getSimpleValueType(0);
216216
auto N = CDAG.getNode(VEISD::VVP_FRSQRT, ResVT, {VX, Mask, AVL}, Flags);
217-
if (RootIsPackLegalized)
218-
addPackLegalizedNode(N.getNode());
219217
return N;
220218
}
221219

llvm/lib/Target/VE/VVPISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1751,7 +1751,7 @@ SDValue VETargetLowering::legalizeInternalLoadStoreOp(SDValue Op,
17511751
SDValue AVL = getAnnotatedNodeAVL(Op).first;
17521752
SDValue Mask = getNodeMask(Op);
17531753
// TODO: this can be refined.. the mask has to be compactable for stores.
1754-
bool IsPackable = isPackableVVPLoadStore(Op);
1754+
bool IsPackable = isPackableLoadStore(Op);
17551755
if (!IsPackable)
17561756
return splitLoadStore(Op, CDAG.DAG, VVPExpansionMode::ToNativeWidth);
17571757

0 commit comments

Comments
 (0)