[PATCH] D125729: [WebAssembly] Update supported features in the generic CPU configuration
Dan Gohman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 16 14:56:28 PDT 2022
sunfish created this revision.
Herald added subscribers: pmatos, asb, ecnelises, hiraditya, jgravelle-google, sbc100, dschuff.
Herald added a project: All.
sunfish requested review of this revision.
Herald added a subscriber: aheejin.
Herald added a project: LLVM.
Accompanying https://reviews.llvm.org/D125728, this updates LLVM Codegen's "generic" CPU to enable the same new features.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D125729
Files:
llvm/lib/Target/WebAssembly/WebAssembly.td
Index: llvm/lib/Target/WebAssembly/WebAssembly.td
===================================================================
--- llvm/lib/Target/WebAssembly/WebAssembly.td
+++ llvm/lib/Target/WebAssembly/WebAssembly.td
@@ -93,7 +93,9 @@
def : ProcessorModel<"mvp", NoSchedModel, []>;
// Generic processor: latest stable version.
-def : ProcessorModel<"generic", NoSchedModel, []>;
+def : ProcessorModel<"generic", NoSchedModel,
+ [FeatureNontrappingFPToInt, FeatureSignExt,
+ FeatureMutableGlobals, FeatureBulkMemory]>;
// Latest and greatest experimental version of WebAssembly. Bugs included!
def : ProcessorModel<"bleeding-edge", NoSchedModel,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125729.429868.patch
Type: text/x-patch
Size: 691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220516/71753b23/attachment.bin>
More information about the llvm-commits
mailing list