# stage2: update vector alignment logic · gitcafe/zig

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

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

Visibility: public

Requested revision: b6981686649ab74b91ebb27bec8a29658b3d3923

Requested commit: b6981686649ab74b91ebb27bec8a29658b3d3923

Commit: b6981686649ab74b91ebb27bec8a29658b3d3923

Tree: 810f4e48b4e4612a110ef0d31f89eda9bf9ad4b8

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: update vector alignment logic

This follows LLVM14's lead on vector alignment, which computes byte
count based on the length premultiplied by bits.

This commit also disables behavior tests regressed by LLVM 14, only for
stage1. stage2 fortunately does not trip the regression.

```

## Parents

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

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