# llvm: stop generating FPU code if there is no FPU · gitcafe/zig

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

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

Visibility: public

Requested revision: c16d4ab9e41be6b5c560d15eaa145ff3a0ffce6c

Requested commit: c16d4ab9e41be6b5c560d15eaa145ff3a0ffce6c

Commit: c16d4ab9e41be6b5c560d15eaa145ff3a0ffce6c

Tree: d31db393866590a8b1d21bcc720bfb34e2627366

Author: David Gonzalez Martin

Committer: Isaac Freund

## Message

```
llvm: stop generating FPU code if there is no FPU

Fixes https://github.com/ziglang/zig/issues/14465

For aarch64, LLVM was crashing because Zig commands it to generate FPU code
even when there is no FPU present. This commit implements the necessary checks
to avoid this undesired situation and aarch64 can be compiled again with
no FPU.

```

## Parents

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

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