# stage2: fix recent LLVM backend code · gitcafe/zig

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

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

Visibility: public

Requested revision: 087aedfa38e0eb2a8f0e3055be18625017060b29

Requested commit: 087aedfa38e0eb2a8f0e3055be18625017060b29

Commit: 087aedfa38e0eb2a8f0e3055be18625017060b29

Tree: daf083d2a0ffccea4b4764ebd94ddb0704eb5333

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: fix recent LLVM backend code

 * std.math.snan: fix compilation error. Also make it and nan inline.
 * LLVM: use a proper enum type for float op instead of enum literal.
   Also various cleanups.
 * LLVM: use LLVMBuildVectorSplat for vector splat AIR instruction.
   - also the bindings had parameter order wrong
 * LLVM: additionally handle f16 lowering. For now all targets report OK
   but I think we will need to add some exceptions to this list.

```

## Parents

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

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