[PATCH] D77908: [WebAssembly] Enable nontrapping-fptoint for `default` cpu

Sam Clegg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 10 14:32:24 PDT 2020


sbc100 created this revision.
Herald added subscribers: cfe-commits, jfb, arphaman, sunfish, aheejin, hiraditya, jgravelle-google, dschuff.
Herald added a project: clang.

Since this feature is now merged into the upstream wasm spec it
makes sense to enable it by default, at least for the `default` CPU.
The `mvp` CPU can still be used to avoid this feature.

See: https://github.com/WebAssembly/spec/pull/1143

This is just to test the water and the plan is to enable all features
that have been merged, assuming this change is accepted.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77908

Files:
  clang/lib/Basic/Targets/WebAssembly.cpp
  clang/lib/Basic/Targets/WebAssembly.h
  clang/test/CodeGen/builtins-wasm.c
  clang/test/Preprocessor/wasm-target-features.c
  lld/test/wasm/alias.ll
  lld/test/wasm/call-indirect.ll
  lld/test/wasm/cxx-mangling.ll
  lld/test/wasm/data-layout.ll
  lld/test/wasm/function-imports-first.ll
  lld/test/wasm/function-imports.ll
  lld/test/wasm/gc-imports.ll
  lld/test/wasm/gc-sections.ll
  lld/test/wasm/import-memory.test
  lld/test/wasm/init-fini.ll
  lld/test/wasm/load-undefined.test
  lld/test/wasm/local-symbols.ll
  lld/test/wasm/locals-duplicate.test
  lld/test/wasm/relocatable.ll
  lld/test/wasm/signature-mismatch-export.ll
  lld/test/wasm/signature-mismatch.ll
  lld/test/wasm/stack-pointer.ll
  lld/test/wasm/undefined-weak-call.ll
  lld/test/wasm/weak-alias-overide.ll
  lld/test/wasm/weak-alias.ll
  lld/test/wasm/weak-symbols.ll
  lld/test/wasm/weak-undefined.ll
  llvm/lib/Target/WebAssembly/WebAssembly.td
  llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  llvm/test/CodeGen/WebAssembly/conv.ll
  llvm/test/CodeGen/WebAssembly/multivalue.ll
  llvm/test/CodeGen/WebAssembly/mutable-globals.ll
  llvm/test/CodeGen/WebAssembly/reference-types.ll
  llvm/test/CodeGen/WebAssembly/tailcall.ll
  llvm/test/CodeGen/WebAssembly/target-features-tls.ll
  llvm/test/MC/WebAssembly/array-fill.ll
  llvm/test/MC/WebAssembly/assembler-binary.ll
  llvm/test/MC/WebAssembly/basic-assembly-errors.s
  llvm/test/MC/WebAssembly/basic-assembly.s
  llvm/test/MC/WebAssembly/bss.ll
  llvm/test/MC/WebAssembly/comdat.ll
  llvm/test/MC/WebAssembly/data-section.s
  llvm/test/MC/WebAssembly/debug-info.ll
  llvm/test/MC/WebAssembly/explicit-sections.ll
  llvm/test/MC/WebAssembly/global-ctor-dtor.ll
  llvm/test/MC/WebAssembly/objdump.s
  llvm/test/MC/WebAssembly/type-index.s
  llvm/test/MC/WebAssembly/visibility.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77908.256662.patch
Type: text/x-patch
Size: 30273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200410/2df8333d/attachment-0001.bin>


More information about the cfe-commits mailing list