[llvm] f54ae6d - [RISCV] Merge duplicate switch cases. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 26 21:11:17 PDT 2024


Author: Craig Topper
Date: 2024-08-26T21:06:42-07:00
New Revision: f54ae6d48bb77ea60ee8c3aa2027680ab2ecf6e5

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

LOG: [RISCV] Merge duplicate switch cases. NFC

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 05df16363ae14c..9b96e32c5ab394 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -6883,10 +6883,8 @@ SDValue RISCVTargetLowering::LowerOperation(SDValue Op,
   case ISD::SMAX:
   case ISD::UMIN:
   case ISD::UMAX:
-    return lowerToScalableOp(Op, DAG);
   case ISD::UADDSAT:
   case ISD::USUBSAT:
-    return lowerToScalableOp(Op, DAG);
   case ISD::SADDSAT:
   case ISD::SSUBSAT:
     return lowerToScalableOp(Op, DAG);


        


More information about the llvm-commits mailing list