Soft deprecrate isNullValue/isAllOnesValue and update in tree
callers. This matches the changes to the APInt interface from
D109483.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Awesome, thanks Craig!
llvm/include/llvm/CodeGen/SelectionDAGNodes.h | ||
---|---|---|
1580–1585 | Random suggestion, but I'd defined the deprecated ones in terms of the primary ones, e.g.: bool isAllOnesValue() const { return isAllOnes(); } which makes it more obvious at a glance that these are identical. |
clang-format not found in user’s local PATH; not linting file.