Files
zig/src
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-28 19:19:28 -07:00
2021-09-24 13:39:20 -04:00
2021-09-27 19:53:29 -07:00
2021-06-21 17:03:03 -07:00
2021-09-24 13:39:20 -04:00
2020-12-16 12:18:14 +01: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-28 19:19:28 -07:00