Skip to content

Commit

Permalink
[SelectionDAG] Remove isNullValue and isAllOnesValue
Browse files Browse the repository at this point in the history
These functions have been deprecated since:

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

Differential Revision: https://reviews.llvm.org/D153317
  • Loading branch information
kazutakahirata committed Jun 20, 2023
1 parent f55fd19 commit e28bb6c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions llvm/include/llvm/CodeGen/SelectionDAGNodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -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); }

Expand Down

0 comments on commit e28bb6c

Please sign in to comment.