Stream: git-wasmtime

Topic: wasmtime / PR #12410 cranelift: fix x86_64_v3 flag and no...


view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2026 at 19:05):

0xbe7a edited PR #12410.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2026 at 19:18):

0xbe7a edited PR #12410:

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

There is a typo in the x86_64_v3 flag: x84_64_v3 — note x84 vs x86.

Also these flags should be normalised to use underscores or hyphens consistently, not a mix of hyphens and underscores.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2026 at 20:02):

alexcrichton submitted PR review:

Thanks!

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2026 at 20:02):

alexcrichton added PR #12410 cranelift: fix x86_64_v3 flag and normalise all generic microarchitecture flags to the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2026 at 20:37):

alexcrichton merged PR #12410.

view this post on Zulip Wasmtime GitHub notifications bot (Jan 23 2026 at 20:37):

alexcrichton removed PR #12410 cranelift: fix x86_64_v3 flag and normalise all generic microarchitecture flags from the merge queue.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 16 2026 at 16:40):

bjorn3 commented on PR #12410:

Also these flags should be normalised to use underscores or hyphens consistently, not a mix of hyphens and underscores.

This breaks cg_clif. LLVM uses x86-64 as target cpu name, so that is what Cranelift needs to accept too.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 16 2026 at 16:40):

bjorn3 edited a comment on PR #12410:

Also these flags should be normalised to use underscores or hyphens consistently, not a mix of hyphens and underscores.

This breaks cg_clif. LLVM uses x86-64 as target cpu name, so that is what Cranelift needs to accept too. https://github.com/rust-lang/rustc_codegen_cranelift/actions/runs/23154591265/job/67265690144

view this post on Zulip Wasmtime GitHub notifications bot (Mar 16 2026 at 16:42):

bjorn3 edited a comment on PR #12410:

Also these flags should be normalised to use underscores or hyphens consistently, not a mix of hyphens and underscores.

This breaks cg_clif. LLVM uses x86-64 as target cpu name, so that is what Cranelift needs to accept too. https://github.com/rust-lang/rustc_codegen_cranelift/actions/runs/23154591265/job/67265690144 FWIW several other target cpus Cranelift accept still use hyphens, so this didn't even make it more consistent. All presets previously used hyphens.

view this post on Zulip Wasmtime GitHub notifications bot (Mar 16 2026 at 16:43):

bjorn3 edited a comment on PR #12410:

Also these flags should be normalised to use underscores or hyphens consistently, not a mix of hyphens and underscores.

This breaks cg_clif. LLVM uses x86-64 as target cpu name, so that is what Cranelift needs to accept too. https://github.com/rust-lang/rustc_codegen_cranelift/actions/runs/23154591265/job/67265690144 FWIW several other target cpus Cranelift accept still use hyphens, so this didn't even make it more consistent. All presets previously used hyphens.

https://github.com/llvm/llvm-project/blob/e30aa40aa677ea967db9d2d20e43b64902070e56/llvm/lib/Target/X86/X86.td#L2042-L2052


Last updated: Mar 23 2026 at 18:16 UTC