# compiler: remove @setAlignStack · gitcafe/zig

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

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

Visibility: public

Requested revision: ec19086aa0491024622c444b0d9310560de9e6f0

Requested commit: ec19086aa0491024622c444b0d9310560de9e6f0

Commit: ec19086aa0491024622c444b0d9310560de9e6f0

Tree: 000cb85a1af4bf6fe1cb6d8dc40e3f1817e7e2dd

Author: mlugg

Committer: mlugg

## Message

```
compiler: remove @setAlignStack

This commit finishes implementing #21209 by removing the
`@setAlignStack` builtin in favour of `CallingConvention` payloads. The
x86_64 backend is updated to use the stack alignment given in the
calling convention (the LLVM backend was already updated in a previous
commit).

Resolves: #21209

```

## Parents

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

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