0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

Sema: make most instructions vector-agnostic

Made most `Value` functions require a `Type`. If the provided type is a
vector, then automatically vectorize the operation and return with
another vector. The Sema side can then automatically become vectorized
with minimal changes. There are already a few manually vectorized
instructions, but we can simplify those later.
This commit is contained in:
William Sengir 2022-03-20 00:38:12 -07:00 • committed by Andrew Kelley
commit afdcfb005e
2 changed files with 1006 additions and 278 deletions