Jeff Niu
c48e0cf03a
[mlir] Remove TypedAttr and ElementsAttr from DenseArrayAttr
...
This patch removes the implementation of TypedAttr and ElementsAttr
from DenseArrayAttr and, in doing so, removes the need store a shaped
type. The attribute now stores a size (number of elements), an MLIR type
as a discriminator, and a raw byte array.
The intent of DenseArrayAttr was not to be a drop-in replacement for DenseElementsAttr. It was meant to be a simple container of integers or floats that map to C++ types. The ElementsAttr implementation on DenseArrayAttr had many holes in it, and fixing those holes would require evolving DenseArrayAttr in a way that is incompatible with its original purpose.
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D137606
2022-12-05 13:27:55 -08:00
..
2022-11-04 18:15:03 -07:00
2022-10-23 23:59:55 -07:00
2022-09-20 11:07:56 -07:00
2022-05-06 13:36:15 -07:00
2022-12-05 13:27:55 -08:00
2022-10-23 23:59:55 -07:00
2022-08-01 12:37:16 -07:00
2022-11-03 11:36:12 -04:00
2022-07-11 21:01:30 -07:00
2022-04-28 12:57:59 -07:00
2022-09-19 09:58:18 -07:00
2022-12-05 13:27:55 -08:00
2022-07-05 16:20:30 -07:00
2022-07-05 16:20:30 -07:00
2022-09-13 11:39:20 -07:00
2022-07-15 14:50:42 -07:00
2022-07-15 14:50:42 -07:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-11-18 11:43:44 +01:00
2022-11-28 15:26:30 -08:00
2022-12-05 13:27:55 -08:00
2022-09-21 13:21:53 +02:00
2022-09-13 11:39:20 -07:00
2022-04-20 22:17:30 -07:00
2022-11-28 15:26:30 -08:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-05-16 13:54:02 -07:00
2022-11-28 15:26:30 -08:00
2022-09-29 15:58:10 -07:00
2022-11-04 18:15:03 -07:00
2021-03-25 03:59:03 +00:00
2022-06-15 10:07:36 -07:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2021-07-29 05:06:37 +00:00
2022-06-12 16:08:23 +02:00
2022-11-18 08:13:30 -08:00
2022-04-20 22:17:30 -07:00
2022-08-01 15:00:54 -07:00
2022-11-30 17:02:54 -08:00
2022-04-20 22:17:30 -07:00
2022-12-05 11:31:50 -08:00
2021-07-28 21:00:10 +00:00
2022-03-16 17:07:03 -07:00
2021-07-28 21:00:10 +00:00
2022-10-05 19:00:53 +00:00
2022-09-08 13:47:48 +05:30
2022-11-28 15:26:30 -08:00
2022-06-29 13:58:02 -07:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-11-28 15:26:30 -08:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-11-03 11:36:12 -04:00
2021-03-24 08:41:40 +00:00
2022-07-28 10:52:12 -07:00
2022-04-20 22:17:30 -07:00
2022-11-28 15:26:30 -08:00
2022-04-20 22:17:30 -07:00
2022-09-27 21:13:47 -04:00
2022-08-12 19:44:52 -04:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:31 -07:00