# LLVM: fix int_to_float signedness detection · gitcafe/zig

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

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

Visibility: public

Requested revision: 7a477a1110c9bf7b4a83a87dcbd5b160842b29e7

Requested commit: 7a477a1110c9bf7b4a83a87dcbd5b160842b29e7

Commit: 7a477a1110c9bf7b4a83a87dcbd5b160842b29e7

Tree: ce77e2c389d37dd7068a32d12b19bd1fc8507e46

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
LLVM: fix int_to_float signedness detection

It was checking if the result (float) type was a signed int rather than
checking the operand (integer) type.

```

## Parents

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

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