[all-commits] [llvm/llvm-project] f20147: [mlir] Cleanup DenseArrayAttrBase definition and e...
Jeff Niu via All-commits
all-commits at lists.llvm.org
Tue Aug 9 12:43:57 PDT 2022
Author: Jeff Niu <jeff at modular.com>
Date: 2022-08-09 (Tue, 09 Aug 2022)
[mlir] Cleanup DenseArrayAttrBase definition and expose raw API
This patch cleans up the definition of `DenseArrayAttrBase` by relying
more on ODS-generated methods. It also exposes an API for using the raw
data of a dense array, similar to `DenseIntOrFPElementsAttr::getRaw`.
Reviewed By: lattner, mehdi_amini
Differential Revision: https://reviews.llvm.org/D131450
More information about the All-commits