[mlir][ElementsAttr] Change value_begin_impl to try_value_begin_impl
This patch changes `value_begin_impl` to a faillable `try_value_begin_impl` so that specific cases can fail iteration if the type doesn't match the internal storage. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D132904
Loading
Please sign in to comment