HomePhabricator

[SelectionDAG] Add isZero/isAllOnes methods to ConstantSDNode.

Authored by craig.topper on Sep 9 2021, 1:10 PM.

Description

[SelectionDAG] Add isZero/isAllOnes methods to ConstantSDNode.

Soft deprecrate isNullValue/isAllOnesValue and update in tree
callers. This matches the changes to the APInt interface from
D109483.

Reviewed By: lattner

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