Erick Ochoa Lopez
9d19250610
[mlir][vector] Add vector.to_elements unrolling (#157142)
This PR adds support for unrolling `vector.to_element`'s source operand.
It transforms
```mlir
%0:8 = vector.to_elements %v : vector<2x2x2xf32>
```
to
```mlir
%v0 = vector.extract %v[0] : vector<2x2xf32> from vector<2x2x2xf32>
%v1 = vector.extract %v[1] : vector<2x2xf32> from vector<2x2x2xf32>
%0:4 = vector.to_elements %v0 : vector<2x2xf32>
%1:4 = vector.to_elements %v1 : vector<2x2xf32>
// %0:8 = %0:4 - %1:4
```
This pattern will be applied until there are only 1-D vectors left.
---------
Signed-off-by: hanhanW <hanhan0912@gmail.com>
Co-authored-by: hanhanW <hanhan0912@gmail.com>
Co-authored-by: Jakub Kuderski <kubakuderski@gmail.com>
2025-09-11 13:56:57 -04:00
..
2025-07-23 10:49:35 -05:00
2025-08-24 12:41:09 +02:00
2025-07-24 12:26:03 -05:00
2025-07-23 10:49:35 -05:00
2025-09-01 15:10:17 +03:00
2025-08-18 09:42:37 +02:00
2025-09-03 14:04:35 -04:00
2025-07-24 11:23:53 -07:00
2025-07-23 10:18:09 -07:00
2025-09-05 08:58:52 +01:00
2025-07-24 11:23:53 -07:00
2025-07-25 12:36:54 -05:00
2025-07-22 10:40:45 -04:00
2025-07-22 10:40:45 -04:00
2025-07-22 10:40:45 -04:00
2025-09-07 22:13:20 -04:00
2025-07-04 13:30:21 -07:00
2025-07-24 11:23:53 -07:00
2025-08-16 13:06:58 +02:00
2025-07-25 12:36:54 -05:00
2025-07-30 17:39:49 -05:00
2025-07-24 11:23:53 -07:00
2025-09-03 08:07:18 -04:00
2025-07-22 10:40:45 -04:00
2025-09-06 11:17:55 +02:00
2025-07-30 17:39:49 -05:00
2025-08-21 21:46:06 -05:00
2025-07-22 10:40:45 -04:00
2025-08-27 12:18:04 -07:00
2025-09-10 09:04:34 +02:00
2025-08-01 06:54:04 -04:00
2025-07-22 08:16:53 -04:00
2025-07-22 08:16:53 -04:00
2025-07-22 08:16:53 -04:00
2025-08-16 09:45:08 +02:00
2025-01-20 09:26:41 +01:00
2025-07-30 17:58:54 +02:00
2025-07-22 08:16:53 -04:00
2025-07-22 08:16:53 -04:00
2025-07-30 17:58:54 +02:00
2025-07-31 13:54:14 -04:00
2025-08-18 15:19:34 +00:00
2025-08-14 17:00:03 +02:00
2025-08-07 12:18:23 -04:00
2025-09-10 09:10:11 +08:00
2025-09-01 15:56:31 +05:30
2025-09-02 14:15:55 +02:00
2025-07-22 08:16:53 -04:00
2025-07-22 08:16:53 -04:00
2025-08-27 03:17:18 -07:00
2025-09-07 22:23:12 -04:00
2025-02-17 10:55:27 +01:00
2025-08-15 10:59:14 +02:00
2025-08-15 10:59:14 +02:00
2025-08-23 04:55:33 -07:00
2025-09-10 09:25:40 -04:00
2025-08-15 10:59:14 +02:00
2025-07-24 11:23:53 -07:00
2025-08-27 14:39:23 -07:00
2024-08-09 16:09:11 +02:00
2025-07-25 12:36:54 -05:00
2025-07-04 13:30:21 -07:00
2025-07-30 17:39:49 -05:00
2025-08-29 15:13:17 +01:00
2025-09-07 22:13:20 -04:00
2025-07-24 11:23:53 -07:00
2025-07-22 10:41:06 -04:00
2025-08-04 17:28:31 +08:00
2024-10-05 21:32:40 +02:00
2025-02-06 19:07:34 +01:00
2025-08-27 08:54:54 +02:00
2025-07-23 10:18:09 -07:00
2025-07-30 17:58:54 +02:00
2025-09-11 13:56:57 -04:00
2025-07-28 11:01:14 -07:00
2025-09-04 16:06:33 -07:00
2025-08-14 11:27:07 -07:00
2025-09-10 15:43:03 -07:00
2025-09-09 09:12:16 -07:00
2025-08-29 16:57:48 +00:00