# Sema: make most instructions vector-agnostic · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/afdcfb005ea32849f30e2abd7361ce1f33d0ee74)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: afdcfb005ea32849f30e2abd7361ce1f33d0ee74

Requested commit: afdcfb005ea32849f30e2abd7361ce1f33d0ee74

Commit: afdcfb005ea32849f30e2abd7361ce1f33d0ee74

Tree: ee60a029d0fd028bc17e65e84a0fe36877a7c1fb

Author: William Sengir

Committer: Andrew Kelley

## Message

```
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.

```

## Parents

- [3f4676901a8c02d9d7069b284aa848d685c3975c](https://git.cafe/gitcafe/zig/commit/3f4676901a8c02d9d7069b284aa848d685c3975c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/afdcfb005ea32849f30e2abd7361ce1f33d0ee74?format=markdown)
