Ulrich Weigand
7095a1ff82
Fix endian conversion of sub-byte types
...
When convertEndianOfCharForBEmachine is called with elementBitWidth
smaller than CHAR_BIT, the default case is invoked, but this does
nothing at all and leaves the output array unchanged.
Fix DenseIntOrFPElementsAttr::convertEndianOfArrayRefForBEmachine
by not calling convertEndianOfCharForBEmachine in this case, and
instead simply copying the input to the output (for sub-byte types,
endian conversion is in fact a no-op).
Reviewed By: rriddle
Differential Revision: https://reviews.llvm.org/D125676
2022-06-12 16:08:23 +02:00
..
2022-04-20 22:17:30 -07:00
2022-05-06 13:36:15 -07:00
2022-05-17 18:19:14 +00:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-04-28 12:57:59 -07:00
2022-05-26 11:37:19 +01:00
2021-10-13 03:07:03 +00: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
2021-09-20 20:59:11 -07:00
2022-04-20 22:17:30 -07:00
2022-05-11 20:41:12 +01: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-05-16 13:54:02 -07:00
2022-04-29 12:19:34 -07:00
2022-04-20 22:17:30 -07:00
2021-03-25 03:59:03 +00: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-05-20 12:55:32 +02:00
2022-04-20 22:17:30 -07:00
2022-01-19 20:41:42 +00: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
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-04-20 22:17:30 -07:00
2021-07-28 21:00:10 +00:00
2022-05-06 13:36:15 -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-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-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2021-03-24 08:41:40 +00:00
2022-04-20 22:17:30 -07:00
2022-04-20 22:17:30 -07:00
2022-05-06 13:36:15 -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-04-20 22:17:31 -07:00