Skip to content

Commit c972134

Browse files
committed
RISCV/ISel: don't unnecessarily freeze Src
1 parent 7c21342 commit c972134

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2965,9 +2965,6 @@ static SDValue lowerVectorXRINT(SDValue Op, SelectionDAG &DAG,
29652965
Src = convertToScalableVector(ContainerVT, Src, DAG, Subtarget);
29662966
}
29672967

2968-
// Freeze the source since we are increasing the number of uses.
2969-
Src = DAG.getFreeze(Src);
2970-
29712968
auto [Mask, VL] = getDefaultVLOps(VT, ContainerVT, DL, DAG, Subtarget);
29722969
SDValue Truncated =
29732970
DAG.getNode(RISCVISD::VFCVT_X_F_VL, DL, ContainerVT, Src, Mask, VL);

0 commit comments

Comments
 (0)