[WebAssembly] Update supported features in the generic CPU configuration
authorDan Gohman <dev@sunfishcode.online>
Tue, 18 Oct 2022 17:50:37 +0000 (10:50 -0700)
committerDan Gohman <dev@sunfishcode.online>
Tue, 25 Oct 2022 18:44:22 +0000 (11:44 -0700)
commit1e4e2433bcd1a0296ef1043c462252f0d087d90c
treeda511571b8242d794e6e4a4c179280f0070aa218
parent11afbf396e10e1b1e91a5991e2aec1916e29a910
[WebAssembly] Update supported features in the generic CPU configuration

Enable sign-ext and mutable-globals in -mcpu=generic. This makes these features
enabled by default.

These features are all [finished proposals], and all major wasm engines
support them.

[finished proposals]: https://github.com/WebAssembly/proposals/blob/main/finished-proposals.md

Differential Revision: https://reviews.llvm.org/D125728
clang/docs/ReleaseNotes.rst
clang/lib/Basic/Targets/WebAssembly.cpp
clang/test/Driver/wasm-features.c [new file with mode: 0644]