Third time's the charm.
pull/16807
pull/21757
Added co-author from the previous pull requests.
(削除) I'll wait for CI to pass before updating stage1.wasm and the compiler. (削除ここまで)
One controversial thing I decided to add is expand_div_ceil in legalize to support x86_64. There was no existing logic (like for @divFloor), so this was implemented from scratch. In the future it'll probably either be removed or kept if it proves useful for other backends.
Closes github/16022
Third time's the charm.
[pull/16807](https://github.com/ziglang/zig/pull/16807)
[pull/21757](https://github.com/ziglang/zig/pull/21757)
Added co-author from the previous pull requests.
~~I'll wait for CI to pass before updating `stage1.wasm` and the compiler.~~
One controversial thing I decided to add is `expand_div_ceil` in legalize to support `x86_64`. There was no existing logic (like for `@divFloor`), so this was implemented from scratch. In the future it'll probably either be removed or kept if it proves useful for other backends.
Closes [github/16022](https://github.com/ziglang/zig/issues/16022)