# stage2: implement \`@clz\` and \`@ctz\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 33e77f127d8237088b561fae2ca0f4412bc1d6c9

Requested commit: 33e77f127d8237088b561fae2ca0f4412bc1d6c9

Commit: 33e77f127d8237088b561fae2ca0f4412bc1d6c9

Tree: 2ad81a2a7ac5fa5635d6d03456333d30fe568364

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: implement `@clz` and `@ctz`

Also improve the LLVM backend to support lowering bigints to LLVM
values.

Moves over a bunch of math.zig test cases to the "passing for stage2"
section.

```

## Parents

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

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