[PATCH] D132335: [ADT] Deprecate is_splat and replace all uses with all_equal
Jakub Kuderski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 21 21:36:40 PDT 2022
kuhar marked an inline comment as done.
kuhar added inline comments.
================
Comment at: mlir/lib/Bindings/Python/IRAttributes.cpp:771
"Gets a DenseElementsAttr where all values are the same")
- .def_property_readonly("is_splat",
+ .def_property_readonly("all_equal",
[](PyDenseElementsAttribute &self) -> bool {
----------------
rriddle wrote:
> This shouldn't be changed.
Thanks!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132335/new/
https://reviews.llvm.org/D132335
More information about the llvm-commits
mailing list