# LLVM: implement signext/zeroext attributes · gitcafe/zig

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

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

Visibility: public

Requested revision: 35e70111248f795fbdcefd5ae0d6fc494d1b0683

Requested commit: 35e70111248f795fbdcefd5ae0d6fc494d1b0683

Commit: 35e70111248f795fbdcefd5ae0d6fc494d1b0683

Tree: f0cef3dfa934eca690c41bd96027ab38f014884c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
LLVM: implement signext/zeroext attributes

For calling convention ABI purposes, integer attributes and return
values need to have an LLVM attribute signext or zeroext added
sometimes. This commit implements that logic.

It also implements a proof-of-concept of moving the F16T type from
being a compiler_rt hack to being how the compiler lowers f16 in
functions that need to match certain calling conventions.

Closes #12054

```

## Parents

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

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