]> granicus.if.org Git - clang/commit
[WebAssembly] Narrowing and widening SIMD ops
authorThomas Lively <tlively@google.com>
Fri, 13 Sep 2019 22:54:41 +0000 (22:54 +0000)
committerThomas Lively <tlively@google.com>
Fri, 13 Sep 2019 22:54:41 +0000 (22:54 +0000)
commit2e06ee4004ed5c1b0dd7f06b42a50fdaaa47237d
tree7eb84a4008cc8e7d5a0c1a362f001bbcb3b41ffe
parenta59ef0d94f341652a6b9ebcceb08616dc9b0ed9c
[WebAssembly] Narrowing and widening SIMD ops

Summary:
Implements target-specific LLVM intrinsics and clang builtins for
these new SIMD operations, as described at https://github.com/WebAssembly/simd/blob/master/proposals/simd/SIMD.md#integer-to-integer-narrowing.

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, cfe-commits, llvm-commits

Tags: #clang, #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371906 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsWebAssembly.def
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/builtins-wasm.c