Mel Chen
ba40a7bc2e
[LoopVectorize] Vectorize fixed-order recurrence with vscale x 1. ( #142772 )
...
When the fixed-order recurrence phi is live-out from the loop, the
vectorizer uses VPInstruction::ExtractPenultimateElement to extract the
penultimate element from the recurrence vector. However, this is not
feasible when the VF is vscale x 1, since vscale could be 1, making the
vector contain only one element.
This patch changes the behavior for vscale x 1 by extracting the last
element from the vector produced by splicing the recurrence phi and the
previous value. This ensures we can still determine the correct live-out
value of the recurrence phi.
2025-06-18 16:03:20 +08:00
..
2025-03-25 12:57:24 +00:00
2025-03-11 21:19:14 +00:00
2025-06-15 22:00:47 +01:00
2025-05-08 18:47:44 +08:00
2025-03-25 12:57:24 +00:00
2025-03-26 21:03:50 +00:00
2025-05-14 13:49:50 -07:00
2025-03-25 12:57:24 +00:00
2025-06-18 16:03:20 +08:00
2025-04-27 19:10:02 +08:00
2025-01-29 08:09:50 +00:00
2025-03-15 21:32:48 +00:00
2025-05-08 18:47:44 +08:00
2025-05-19 13:27:17 +01:00
2025-06-12 11:09:09 +01:00
2025-06-17 18:24:07 +01:00
2025-03-25 12:57:24 +00:00
2025-05-28 11:00:14 +02:00
2025-06-17 18:24:07 +01:00
2025-02-09 11:20:20 +00:00
2025-03-25 12:57:24 +00:00
2025-06-10 15:26:54 -07:00
2025-06-17 18:24:07 +01:00
2025-06-17 18:24:07 +01:00
2025-06-16 09:58:03 +01:00
2025-06-16 09:58:03 +01:00
2025-06-16 09:58:03 +01:00
2025-02-10 08:40:28 +08:00
2025-01-29 08:09:50 +00:00
2025-03-25 12:57:24 +00:00
2025-04-14 14:17:39 +08:00
2025-06-16 10:20:09 -07:00
2025-04-12 20:05:37 +01:00
2025-03-25 12:57:24 +00:00
2025-03-04 16:49:24 +08:00
2025-04-04 15:44:26 +01:00
2025-04-28 20:01:37 +01:00
2025-05-28 11:00:14 +02:00
2025-06-17 18:24:07 +01:00
2025-03-21 09:24:56 +00:00
2025-05-20 14:16:01 +01:00
2025-05-06 10:06:37 -07:00
2025-05-06 10:06:37 -07:00
2025-06-17 18:24:07 +01:00
2025-05-06 10:06:37 -07:00
2025-05-06 10:06:37 -07:00
2025-05-06 10:06:37 -07:00
2025-06-09 20:59:12 +01:00
2025-05-06 10:06:37 -07:00
2025-05-06 10:06:37 -07:00
2025-06-05 11:38:30 +00:00
2025-06-17 18:24:07 +01:00
2025-05-06 10:06:37 -07:00
2025-05-06 10:06:37 -07:00
2025-05-06 10:06:37 -07:00
2025-05-06 10:06:37 -07:00
2025-05-06 10:06:37 -07:00
2025-01-29 08:09:50 +00:00
2025-06-09 20:59:12 +01:00
2025-06-05 11:38:30 +00:00
2025-06-05 11:38:30 +00:00
2025-05-06 10:06:37 -07:00
2025-06-05 11:38:30 +00:00
2025-02-09 11:20:20 +00:00
2025-04-10 22:30:40 +01:00
2025-04-10 22:30:40 +01:00
2025-05-29 11:20:07 +01:00
2025-06-09 20:59:12 +01:00
2025-04-10 22:30:40 +01:00
2025-05-29 11:20:07 +01:00