[llvm] 1fea6bd - [RISCV] Remove extra MVT::Other result from creation of RISCVISD::FCLASS_VL.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri May 26 12:01:31 PDT 2023


Author: Craig Topper
Date: 2023-05-26T12:01:18-07:00
New Revision: 1fea6bd8777a800af8f67e5d67afe25a713a8926

URL: https://github.com/llvm/llvm-project/commit/1fea6bd8777a800af8f67e5d67afe25a713a8926
DIFF: https://github.com/llvm/llvm-project/commit/1fea6bd8777a800af8f67e5d67afe25a713a8926.diff

LOG: [RISCV] Remove extra MVT::Other result from creation of RISCVISD::FCLASS_VL.

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
index cc1da4975eb4..470831378d17 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -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());


        


More information about the llvm-commits mailing list