[llvm] fcefb53 - Remove unreachable break. NFC
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 7 04:38:38 PDT 2020
Author: Simon Pilgrim
Date: 2020-08-07T12:37:49+01:00
New Revision: fcefb532225110be5e73ba0f6285cb869bb56148
URL: https://github.com/llvm/llvm-project/commit/fcefb532225110be5e73ba0f6285cb869bb56148
DIFF: https://github.com/llvm/llvm-project/commit/fcefb532225110be5e73ba0f6285cb869bb56148.diff
LOG: Remove unreachable break. NFC
Added:
Modified:
llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
index fcac5c719ea7..e20e9055af94 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<ConstantSDNode>(V)->getAPIntValue();
APInt NewVal = CVal & DemandedBits;
More information about the llvm-commits
mailing list