[PATCH] D132335: [ADT] Deprecate is_splat and replace all uses with all_equal
River Riddle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 21 21:02:20 PDT 2022
rriddle 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 {
----------------
This shouldn't be changed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132335/new/
https://reviews.llvm.org/D132335
More information about the llvm-commits
mailing list