[RISCV] Remove extra MVT::Other result from creation of RISCVISD::FCLASS_VL.
authorCraig Topper <craig.topper@sifive.com>
Fri, 26 May 2023 19:01:14 +0000 (12:01 -0700)
committerCraig Topper <craig.topper@sifive.com>
Fri, 26 May 2023 19:01:18 +0000 (12:01 -0700)
llvm/lib/Target/RISCV/RISCVISelLowering.cpp

index cc1da49..4708313 100644 (file)
@@ -4402,7 +4402,7 @@ SDValue RISCVTargetLowering::LowerIS_FPCLASS(SDValue Op,
         getDefaultVLOps(DstVT, ContainerDstVT, DL, DAG, Subtarget);
 
     SDValue FPCLASS = DAG.getNode(
-        RISCVISD::FCLASS_VL, DL, DAG.getVTList(ContainerDstVT, MVT::Other),
+        RISCVISD::FCLASS_VL, DL, ContainerDstVT,
         {convertToScalableVector(ContainerVT0, Op0, DAG, Subtarget) /*Op0*/,
          Mask, VL},
         Op->getFlags());