diff options
| author | William Sengir <william@sengir.com> | 2022-03-20 00:38:12 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-03-21 16:54:19 -0700 |
| commit | afdcfb005ea32849f30e2abd7361ce1f33d0ee74 (patch) | |
| tree | ee60a029d0fd028bc17e65e84a0fe36877a7c1fb /test/behavior/vector.zig | |
| parent | 3f4676901a8c02d9d7069b284aa848d685c3975c (diff) | |
| download | zig-afdcfb005ea32849f30e2abd7361ce1f33d0ee74.tar.gz zig-afdcfb005ea32849f30e2abd7361ce1f33d0ee74.zip | |
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.
Diffstat (limited to 'test/behavior/vector.zig')
0 files changed, 0 insertions, 0 deletions
