# stage2: improve LLVM backend for enums · gitcafe/zig

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

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

Visibility: public

Requested revision: b58d8aa05f01e53003be32f220548cba69cf25dd

Requested commit: b58d8aa05f01e53003be32f220548cba69cf25dd

Commit: b58d8aa05f01e53003be32f220548cba69cf25dd

Tree: 55f6bbc18b10fc19ccc290935899576e7c4c4dd7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: improve LLVM backend for enums

 * support lowering enum types and constants to LLVM IR
 * fix cmp instruction to support enum operands

```

## Parents

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

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