# stage1: add @shuffle\(\) shufflevector support · gitcafe/zig

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

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

Visibility: public

Requested revision: 193604c837df75ab0c3fa5860f8b234263fe5b50

Requested commit: 193604c837df75ab0c3fa5860f8b234263fe5b50

Commit: 193604c837df75ab0c3fa5860f8b234263fe5b50

Tree: d96c52e9fd95d3e964fcc298505effc6bf3bffb3

Author: Shawn Landden

Committer: Andrew Kelley

## Message

```
stage1: add @shuffle() shufflevector support

I change the semantics of the mask operand, to make it a little more
flexible. There is no real danger in this because it is a compile-error
if you do it the LLVM way (and there is an appropiate error to tell you
this).

v2: avoid problems with double-free

```

## Parents

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

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