aboutsummaryrefslogtreecommitdiff
path: root/lib/std/simd.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-30 00:47:55 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-30 00:47:55 -0700
commitc21f046a8b019c42aa0dbb0fb9c592b590edf977 (patch)
tree96c7f602f08b00c9cabdd699f8f678de215e50c5 /lib/std/simd.zig
parent05947ea870f95ab90a75e174079492f546baaf72 (diff)
downloadzig-c21f046a8b019c42aa0dbb0fb9c592b590edf977.tar.gz
zig-c21f046a8b019c42aa0dbb0fb9c592b590edf977.zip
Sema: enhance is_non_err to be comptime more often
* Sema: store the precomputed monomorphed_funcs hash inside Module.Fn. This is important because it may be accessed when resizing monomorphed_funcs while this Fn has already been added to the set, but does not have the owner_decl, comptime_args, or other fields populated yet. * Sema: in `analyzeIsNonErr`, take advantage of the AIR tag being `wrap_errunion_payload` to infer that `is_non_err` is comptime true without performing any error set resolution. - Also add some code to check for empty inferred error sets in this function. If necessary we do resolve the inferred error set. * Sema: queue full type resolution of payload type when `wrap_errunion_payload` AIR instruction is emitted. This ensures the backend may check the alignment of it. * Sema: resolveTypeFully now additionally resolves comptime-only status. closes #11306
Diffstat (limited to 'lib/std/simd.zig')
0 files changed, 0 insertions, 0 deletions