summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ObjectYAML/WasmYAML.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2018-09-20 22:04:44 +0000
committerThomas Lively <tlively@google.com>2018-09-20 22:04:44 +0000
commit6f21a136755e5bce0c58a8f0fab56612821390ba (patch)
treede10d36095130a539991be29371ede750981c958 /llvm/lib/ObjectYAML/WasmYAML.cpp
parentb320ca264216cb09d70927792f6f3d04bca7f58b (diff)
downloadbcm5719-llvm-6f21a136755e5bce0c58a8f0fab56612821390ba.tar.gz
bcm5719-llvm-6f21a136755e5bce0c58a8f0fab56612821390ba.zip
[WebAssembly] Add V128 value type to binary format
Summary: Adds the necessary support to lib/ObjectYAML and fixes SIMD calls to allow the tests to work. Also removes some dead code that would otherwise have to have been updated. Reviewers: aheejin, dschuff, sbc100 Subscribers: jgravelle-google, sunfish, llvm-commits Differential Revision: https://reviews.llvm.org/D52105 llvm-svn: 342689
Diffstat (limited to 'llvm/lib/ObjectYAML/WasmYAML.cpp')
-rw-r--r--llvm/lib/ObjectYAML/WasmYAML.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/ObjectYAML/WasmYAML.cpp b/llvm/lib/ObjectYAML/WasmYAML.cpp
index 8de25dd3ac6..2e7a1d6f653 100644
--- a/llvm/lib/ObjectYAML/WasmYAML.cpp
+++ b/llvm/lib/ObjectYAML/WasmYAML.cpp
@@ -452,6 +452,7 @@ void ScalarEnumerationTraits<WasmYAML::ValueType>::enumeration(
ECase(I64);
ECase(F32);
ECase(F64);
+ ECase(V128);
ECase(ANYFUNC);
ECase(FUNC);
ECase(NORESULT);
OpenPOWER on IntegriCloud