[WebAssembly] Add new target feature in support of 'extended-const' proposal
authorSam Clegg <sbc@chromium.org>
Mon, 7 Mar 2022 20:52:23 +0000 (12:52 -0800)
committerSam Clegg <sbc@chromium.org>
Tue, 8 Mar 2022 00:45:42 +0000 (16:45 -0800)
commitc832edfd3fbccfac6d5212d6495f0dde851dbdde
tree65e23f13dabc26b99b2b90c464ba7feef71607ca
parent96aa48100c0b332b6e6821b664ad2fa5615c976a
[WebAssembly] Add new target feature in support of 'extended-const' proposal

We don't yet do anything when this feature is enabled, this change
just lays the ground work by accepting that there is such a feature.

See https://github.com/WebAssembly/extended-const

Differential Revision: https://reviews.llvm.org/D121151
clang/docs/ClangCommandLineReference.rst
clang/include/clang/Driver/Options.td
clang/lib/Basic/Targets/WebAssembly.cpp
clang/lib/Basic/Targets/WebAssembly.h
clang/test/Preprocessor/wasm-target-features.c
llvm/lib/Target/WebAssembly/WebAssembly.td
llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td
llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h