Andrew Kelley
7efc2a0626
AstGen: improved logic for nodeMayNeedMemoryLocation
...
* `@as` and `@bitCast` no longer unconditionally return `true` from
this function; they forward the question to their sub-expression.
* fix `@splat` incorrectly being marked as needing a memory location
(this function returns a SIMD vector; it definitely does not want a
memory location).
Makes AstGen generate slightly nicer ZIR, which in turn generates
slightly nicer AIR, generating slightly nicer machine code in debug
builds.
It also means I can procrastinate implementing the bitcast_result_ptr
ZIR instruction semantic analysis :^)
2021-09-28 20:33:50 -07:00
..
2021-09-24 13:47:59 -04:00
2021-09-28 19:19:28 -07:00
2021-09-28 19:19:28 -07:00
2021-09-28 19:19:28 -07:00
2021-09-28 19:19:28 -07:00
2021-09-28 20:27:28 -07:00
2021-09-28 20:33:50 -07:00
2021-09-28 20:33:50 -07:00
2021-09-19 13:52:56 +02:00
2021-09-16 16:39:04 -07:00
2020-09-21 18:38:55 -07:00
2021-08-03 08:38:15 +03:00
2021-09-28 19:19:28 -07:00
2021-09-24 13:39:20 -04:00
2021-06-14 00:16:40 +03:00
2021-06-21 17:03:03 -07:00
2020-12-07 17:27:09 -07:00
2021-08-06 02:01:47 -07:00
2021-03-25 22:05:21 -04:00
2021-09-24 14:06:16 -04:00
2021-09-19 13:52:56 +02:00
2021-09-19 13:52:56 +02:00
2021-08-31 21:50:16 -04:00
2021-09-24 01:00:15 -07:00
2021-09-28 19:19:28 -07:00
2021-09-23 00:20:21 -04:00
2021-09-19 13:52:56 +02:00
2021-09-27 19:53:29 -07:00
2021-09-19 13:52:56 +02:00
2021-09-19 13:52:56 +02:00
2021-09-28 19:19:28 -07:00
2021-06-21 17:03:03 -07:00
2021-06-21 17:03:03 -07:00
2021-09-28 19:19:28 -07:00
2021-07-30 16:17:59 -07:00
2021-07-20 12:19:16 -07:00
2021-09-28 20:27:28 -07:00
2021-07-23 22:42:31 -07:00
2021-09-24 14:06:16 -04:00
2021-08-06 02:01:47 -07:00
2021-06-30 21:49:00 -05:00
2021-06-21 17:03:03 -07:00
2021-09-19 13:52:56 +02:00
2021-09-28 12:00:35 -05:00
2021-08-21 20:47:42 -07:00
2021-09-28 20:27:28 -07:00
2021-01-14 20:41:37 -07:00
2021-07-11 00:06:47 +02:00
2021-09-24 13:39:20 -04:00
2021-09-07 21:49:08 -06:00
2020-09-21 21:14:01 -07:00
2021-09-01 17:54:07 -07:00
2021-02-25 19:41:30 -08:00
2020-12-16 12:18:14 +01:00
2021-07-10 15:58:38 -04:00
2021-09-24 13:39:20 -04:00
2021-09-24 13:39:20 -04:00
2021-09-24 13:39:20 -04:00
2021-09-20 02:29:04 +02:00
2021-09-20 02:29:04 +02:00
2021-09-28 19:19:28 -07:00