[llvm] 8227072 - [RISCV] Add missing break to last case in switch. NFC

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 13:53:08 PST 2023


Author: Craig Topper
Date: 2023-12-12T13:52:52-08:00
New Revision: 8227072f5aa87842295893175451213c88265a60

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

LOG: [RISCV] Add missing break to last case in switch. 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 f2ec422b54a926..0b682b0cbb3380 100644
--- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp
@@ -16038,6 +16038,7 @@ unsigned RISCVTargetLowering::ComputeNumSignBitsForTargetNode(
       assert(Subtarget.hasStdExtA());
       return 33;
     }
+    break;
   }
   }
 


        


More information about the llvm-commits mailing list