metagn
95fa7f0f12
make distinct conversions addressable in VM ( #24124 )
...
fixes #24097
For `nkConv` addresses where the conversion is between 2 types that are
equal between backends, treat assignments the same as assignments to the
argument of the conversion. In the VM this seems to be in `genAsgn` and
`genAsgnPatch`, as evidenced by the special logic for `nkDerefExpr` etc.
This doesn't handle ranges after #24037 because `sameBackendType` is
used and not `sameBackendTypeIgnoreRange`. This is so this is
backportable without #24037 and another PR can be opened that implements
it for ranges and adds tests as well. We can also merge
`sameBackendTypeIgnoreRange` with `sameBackendType` since it doesn't
seem like anything that uses it would be affected (only cycle checks and
the VM), but then we still have to add tests.
(cherry picked from commit 1fbb67ffe9 )
2024-12-20 05:21:18 +01:00
..
2018-08-13 13:02:52 +02:00
2020-05-06 17:16:54 +02:00
2023-06-29 11:21:22 +02:00
2018-12-11 21:23:21 +01:00
2023-04-21 15:37:58 +02:00
2020-11-08 11:02:12 +08:00
2021-02-23 09:02:06 +01:00
2022-11-06 22:25:55 +08:00
2023-01-31 19:22:10 +01:00
2022-06-13 09:01:40 +02:00
2022-11-07 14:36:43 +01:00
2023-05-06 18:04:08 +02:00
2020-12-28 14:13:21 +01:00
2019-11-28 09:56:02 +01:00
2019-11-28 09:56:02 +01:00
2017-09-30 21:35:30 +02:00
2017-07-25 09:28:23 +02:00
2019-02-01 12:12:10 +01:00
2021-05-08 00:27:06 +02:00
2018-10-09 19:54:12 +02:00
2020-11-02 10:58:14 +01:00
2023-06-06 06:54:07 +02:00
2022-01-16 21:10:35 +01:00
2019-07-12 15:37:54 +02:00
2018-12-31 14:41:24 +01:00
2021-04-04 13:47:28 -07:00
2018-08-13 13:02:52 +02:00
2016-08-23 01:10:34 +02:00
2024-04-20 09:44:31 +02:00
2020-11-24 16:09:00 +01:00
2024-10-28 09:17:53 +01:00
2024-04-17 14:05:42 +02:00
2018-11-23 13:16:45 +01:00
2024-10-28 09:56:55 +01:00
2024-12-20 05:21:18 +01:00
2017-02-05 08:51:43 +01:00
2019-09-28 19:50:20 +02:00
2019-08-02 22:59:04 +01:00
2019-05-21 21:31:40 +02:00
2020-06-17 15:25:02 +02:00
2019-12-10 19:04:02 +01:00
2023-06-06 06:54:07 +02:00
2022-08-23 19:28:51 +02:00
2018-12-11 21:23:22 +01:00
2024-10-23 08:12:50 +02:00
2020-06-17 15:25:02 +02:00
2016-10-09 18:02:48 +02:00
2018-12-18 09:07:12 +01:00
2018-11-23 11:58:28 +01:00
2017-01-07 02:38:26 +01:00
2018-11-23 11:58:28 +01:00
2019-07-12 12:15:30 +02:00
2022-06-22 08:43:58 +02:00
2015-09-04 23:04:32 +02:00
2019-12-10 19:04:02 +01:00
2020-01-23 10:53:30 +01:00
2023-02-25 00:53:04 +08:00
2019-11-28 09:56:02 +01:00
2022-08-23 19:28:51 +02:00
2018-06-26 21:25:27 +02:00
2018-10-27 14:10:05 +01:00
2023-06-06 06:54:07 +02:00
2023-06-06 06:54:07 +02:00
2023-09-18 12:13:00 +02:00
2022-10-22 06:37:23 +02:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2020-12-28 14:13:21 +01:00
2022-08-23 19:28:51 +02:00
2020-04-06 00:24:35 +02:00
2022-08-23 19:28:51 +02:00
2022-08-23 19:28:51 +02:00
2023-06-29 11:21:22 +02:00
2018-08-13 23:16:03 +02:00
2018-12-08 14:33:42 -08:00
2023-05-02 10:49:17 +02:00
2018-11-23 13:16:45 +01:00
2020-05-07 22:07:08 +02:00
2018-11-23 11:58:28 +01:00
2019-05-21 21:31:40 +02:00
2021-03-01 07:51:12 -08:00
2020-12-28 14:13:21 +01:00
2020-11-05 14:00:08 +01:00
2023-06-25 00:01:08 +02:00
2024-01-19 09:19:18 +01:00
2023-09-18 12:12:59 +02:00
2022-08-23 19:28:51 +02:00
2024-09-13 13:43:29 +02:00
2021-05-02 00:26:41 +02:00
2022-12-10 18:57:19 +01:00
2022-08-23 19:28:51 +02:00
2020-12-28 14:13:21 +01:00
2017-07-25 09:28:23 +02:00
2014-03-16 20:42:49 +02:00
2022-08-23 19:28:51 +02:00
2022-09-28 15:28:45 -04:00