]> granicus.if.org Git - llvm/commit
[WebAssembly] Error when using wasm64 for ISel
authorThomas Lively <tlively@google.com>
Wed, 2 Oct 2019 17:34:44 +0000 (17:34 +0000)
committerThomas Lively <tlively@google.com>
Wed, 2 Oct 2019 17:34:44 +0000 (17:34 +0000)
commite16224de2dd418fca8d6851fb8355bfdb24328bc
tree8053c734c4b96246f738b0b8d514e332bd3d1ebb
parent0312be25f1c7f0dc99c444e7f507cb68afbc595f
[WebAssembly] Error when using wasm64 for ISel

Summary:
64-bit WebAssembly (wasm64) is not specified and not supported in the
WebAssembly backend. We do have support for it in clang, however, and
we would like to keep that support because we expect wasm64 to be
specified and supported in the future. For now add an error when
trying to use wasm64 from the backend to minimize user confusion from
unexplained crashes.

Reviewers: aheejin, dschuff, sunfish

Subscribers: sbc100, jgravelle-google, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D68254

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373493 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
test/CodeGen/WebAssembly/cpus.ll