From e28bb6c3c797e06b2746e5b6dcba6fbb5e20a61b Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 20 Jun 2023 14:15:51 -0700 Subject: [PATCH] [SelectionDAG] Remove isNullValue and isAllOnesValue These functions have been deprecated since: commit f271e5d9d44e833ef2264e5b0e9aa5f8383c173d Author: Kazu Hirata Date: Sun Mar 12 18:25:07 2023 -0700 Differential Revision: https://reviews.llvm.org/D153317 --- llvm/include/llvm/CodeGen/SelectionDAGNodes.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h index fa1c61d..5ccda00 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h @@ -1615,11 +1615,7 @@ public: 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); } -- 2.7.4