# wasm: Improve shl_with_overflow · gitcafe/zig

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

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

Visibility: public

Requested revision: 160aa4c11dcb0413796d08fd623ce7bbeabaf04b

Requested commit: 160aa4c11dcb0413796d08fd623ce7bbeabaf04b

Commit: 160aa4c11dcb0413796d08fd623ce7bbeabaf04b

Tree: 6a099fce5aef5a2e58e273277f72ad2711843a3a

Author: Luuk de Gram

Committer: Andrew Kelley

## Message

```
wasm: Improve shl_with_overflow

This re-implements the shl_with_overflow operation from scratch,
making it a lot more robust and outputs the equal code to the LLVM backend.

```

## Parents

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

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