diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -4022,10 +4022,7 @@ // More could be done here, though the above checks are enough // to handle some common cases. - - // Fall back to computeKnownBits to catch other known cases. - KnownBits Known = computeKnownBits(Val); - return (Known.countMaxPopulation() == 1) && (Known.countMinPopulation() == 1); + return false; } unsigned SelectionDAG::ComputeNumSignBits(SDValue Op, unsigned Depth) const {