Skip to content

Commit fd71271

Browse files
committed
[NVPTX] remove unused param in ReplaceF32x2Op()
1 parent 22cd89f commit fd71271

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5686,8 +5686,7 @@ static void ReplaceCopyFromReg_128(SDNode *N, SelectionDAG &DAG,
56865686
}
56875687

56885688
static void ReplaceF32x2Op(SDNode *N, SelectionDAG &DAG,
5689-
SmallVectorImpl<SDValue> &Results,
5690-
bool UseFTZ) {
5689+
SmallVectorImpl<SDValue> &Results) {
56915690
SDLoc DL(N);
56925691
EVT OldResultTy = N->getValueType(0); // <2 x float>
56935692
assert(OldResultTy == MVT::v2f32 && "Unexpected result type for F32x2 op!");
@@ -5760,7 +5759,7 @@ void NVPTXTargetLowering::ReplaceNodeResults(
57605759
case ISD::FSUB:
57615760
case ISD::FMUL:
57625761
case ISD::FMA:
5763-
ReplaceF32x2Op(N, DAG, Results, useF32FTZ(DAG.getMachineFunction()));
5762+
ReplaceF32x2Op(N, DAG, Results);
57645763
return;
57655764
}
57665765
}

0 commit comments

Comments
 (0)