[clang] [lld] [llvm] [WebAssembly] Enable nontrapping-fptoint and bulk-memory by default. (PR #112049)

Heejin Ahn via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 15 17:09:18 PDT 2024


================
@@ -151,8 +151,10 @@ bool WebAssemblyTargetInfo::initFeatureMap(
     llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU,
     const std::vector<std::string> &FeaturesVec) const {
   auto addGenericFeatures = [&]() {
+    Features["bulk-memory"] = true;
----------------
aheejin wrote:

You can delete `bulk-memory` and `nontrapping-fptoint` lines from `addBleedingEdgeFeatures` below

https://github.com/llvm/llvm-project/pull/112049


More information about the cfe-commits mailing list