Shih-Po Hung
fb67dce1cb
[RISCV] Fix crash when unrolling loop containing vector instructions ( #83384 )
...
When MVT is not a vector type, TCK_CodeSize should return an invalid
cost. This patch adds a check in the beginning to make sure all cost
kinds return invalid costs consistently.
Before this patch, TCK_CodeSize returns a valid cost on scalar MVT but
other cost kinds doesn't.
This fixes the issue #83294 where a loop contains vector instructions
and MVT is scalar after type legalization when the vector extension is
not enabled,
2024-03-02 12:33:55 +08:00
..
2024-02-06 12:19:27 -08:00
2024-02-06 14:41:47 +08:00
2024-02-16 18:51:44 -05:00
2024-01-04 15:40:30 -05:00
2024-02-29 08:55:52 -08:00
2024-02-26 12:12:31 +00:00
2024-02-26 12:12:31 +00:00
2024-02-12 15:00:54 +08:00
2024-02-06 12:39:04 -08:00
2024-01-16 20:44:30 +08:00
2024-01-19 14:44:47 -08:00
2023-09-22 10:13:56 -07:00
2023-12-07 18:21:38 -08:00
2023-08-28 10:11:12 -07:00
2024-01-23 16:16:07 -08:00
2024-02-28 21:46:58 -08:00
2024-02-13 13:02:15 +08:00
2024-02-20 17:27:47 -08:00
2024-02-13 14:59:28 -08:00
2024-01-15 14:09:52 +07:00
2023-12-04 13:00:34 -08:00
2024-01-25 14:41:52 +08:00
2024-01-19 08:22:25 +08:00
2024-01-02 09:50:06 -08:00
2023-12-27 11:19:38 +08:00
2023-11-22 16:43:20 -08:00
2024-02-15 16:45:54 -08:00
2024-02-26 12:12:31 +00:00
2024-02-21 15:04:29 +08:00
2024-01-25 17:03:25 +08:00
2024-02-21 08:47:39 +01:00
2024-02-08 23:38:19 -08:00
2024-02-08 23:38:19 -08:00
2024-02-08 23:38:19 -08:00
2024-02-07 16:03:30 +08:00
2024-02-06 09:38:50 -08:00
2024-02-06 09:38:50 -08:00
2024-02-20 09:23:31 +08:00
2024-01-27 20:03:32 +09:00
2023-12-17 19:29:40 +08:00
2024-01-26 11:15:53 +08:00
2024-02-08 23:38:19 -08:00
2024-02-16 15:35:09 +08:00
2024-02-01 10:58:21 -08:00
2024-02-08 23:38:19 -08:00
2024-02-23 15:44:57 -08:00
2023-12-30 15:40:20 +08:00
2023-10-19 14:55:33 -07:00
2023-11-01 09:36:41 -07:00
2024-02-08 23:38:19 -08:00
2023-10-20 14:22:48 +08:00
2023-12-30 15:40:20 +08:00
2024-01-29 15:58:54 +00:00
2024-01-29 15:24:00 -08:00
2023-10-08 14:13:08 +08:00
2024-01-29 09:54:34 +08:00
2024-02-26 19:33:44 +08:00
2024-01-26 11:15:53 +08:00
2024-02-29 12:57:34 +08:00
2024-02-21 15:04:29 +08:00
2023-09-25 12:05:05 +08:00
2024-01-25 17:10:49 +08:00
2024-02-22 15:51:19 +08:00
2024-01-23 09:57:05 +08:00
2023-12-07 18:21:38 -08:00
2024-02-03 23:40:09 -08:00
2023-11-09 15:15:23 +08:00
2024-02-12 15:00:54 +08:00
2024-02-07 14:30:45 -08:00
2024-02-28 15:06:20 -08:00
2024-02-26 12:12:31 +00:00
2024-03-01 12:17:56 +08:00
2024-01-31 17:06:43 +08:00
2024-02-29 09:57:15 -05:00
2024-01-31 17:06:43 +08:00
2024-01-31 17:06:43 +08:00
2024-01-31 17:06:43 +08:00
2024-02-23 09:15:48 -05:00
2024-02-12 15:00:54 +08:00
2024-01-25 17:10:49 +08:00
2024-02-26 12:12:31 +00:00
2024-02-17 09:56:22 +08:00
2024-02-26 12:12:31 +00:00
2023-09-14 14:10:14 -07:00
2024-01-16 15:32:35 -08:00
2024-01-16 15:32:35 -08:00
2024-03-02 12:33:55 +08:00
2024-02-01 16:07:38 -05:00