[all-commits] [llvm/llvm-project] 1bc244: [WebAssembly] Use generic CPU by default in llvm-m...

Heejin Ahn via All-commits all-commits at lists.llvm.org
Tue Feb 24 00:39:35 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bc2446c78d4a30eb29f0a6bb7d7d12d3f08d97c
      https://github.com/llvm/llvm-project/commit/1bc2446c78d4a30eb29f0a6bb7d7d12d3f08d97c
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2026-02-24 (Tue, 24 Feb 2026)

  Changed paths:
    M lld/test/wasm/call-indirect.s
    M lld/test/wasm/invalid-mvp-table-use.s
    M lld/test/wasm/multi-table.s
    M llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp
    M llvm/test/MC/WebAssembly/reloc-code.s
    M llvm/test/MC/WebAssembly/reloc-pic.s
    M llvm/test/MC/WebAssembly/reloc-pic64.s
    M llvm/test/MC/WebAssembly/tail-call-encodings.s
    M llvm/test/MC/WebAssembly/weak-alias.s

  Log Message:
  -----------
  [WebAssembly] Use generic CPU by default in llvm-mc (#181460)

Other tools, such as `llc`, use `generic` cpu by default, if you don't
give any `-mcpu`:

https://github.com/llvm/llvm-project/blob/75f738b0b2a15281c6f285380ea947e973a6e02f/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp#L38-L39

But `llvm-mc` didn't do that. This makes `generic` also the default CPU
for `llvm-mc`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list