From fcefb532225110be5e73ba0f6285cb869bb56148 Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Fri, 7 Aug 2020 12:37:49 +0100 Subject: [PATCH] Remove unreachable break. NFC --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index fcac5c7..e20e905 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -2223,7 +2223,6 @@ SDValue SelectionDAG::GetDemandedBits(SDValue V, const APInt &DemandedBits, default: return TLI->SimplifyMultipleUseDemandedBits(V, DemandedBits, DemandedElts, *this, 0); - break; case ISD::Constant: { const APInt &CVal = cast(V)->getAPIntValue(); APInt NewVal = CVal & DemandedBits; -- 2.7.4