[llvm] e28bb6c - [SelectionDAG] Remove isNullValue and isAllOnesValue

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 20 14:15:56 PDT 2023


Author: Kazu Hirata
Date: 2023-06-20T14:15:51-07:00
New Revision: e28bb6c3c797e06b2746e5b6dcba6fbb5e20a61b

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

LOG: [SelectionDAG] Remove isNullValue and isAllOnesValue

These functions have been deprecated since:

  commit f271e5d9d44e833ef2264e5b0e9aa5f8383c173d
  Author: Kazu Hirata <kazu at google.com>
  Date:   Sun Mar 12 18:25:07 2023 -0700

Differential Revision: https://reviews.llvm.org/D153317

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/SelectionDAGNodes.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index fa1c61d48baa2..5ccda000941c0 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -1615,11 +1615,7 @@ class ConstantSDNode : public SDNode {
 
   bool isOne() const { return Value->isOne(); }
   bool isZero() const { return Value->isZero(); }
-  LLVM_DEPRECATED("use isZero instead", "isZero")
-  bool isNullValue() const { return isZero(); }
   bool isAllOnes() const { return Value->isMinusOne(); }
-  LLVM_DEPRECATED("use isAllOnes instead", "isAllOnes")
-  bool isAllOnesValue() const { return isAllOnes(); }
   bool isMaxSignedValue() const { return Value->isMaxValue(true); }
   bool isMinSignedValue() const { return Value->isMinValue(true); }
 


        


More information about the llvm-commits mailing list