OSDN Git Service

[WebAssembly] Saturating arithmetic intrinsics
authorThomas Lively <tlively@google.com>
Fri, 5 Oct 2018 00:45:20 +0000 (00:45 +0000)
committerThomas Lively <tlively@google.com>
Fri, 5 Oct 2018 00:45:20 +0000 (00:45 +0000)
commit70285a03596946657b49fed5ded6558050bb6e5b
tree6aa31e9ff99e40faabbb1a4e32b2295695e43a31
parent24abcf4cda43d09fa1ac32a412b22bdce54992d8
[WebAssembly] Saturating arithmetic intrinsics

Summary: Depends on D52805.

Reviewers: aheejin, dschuff

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

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@343833 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IntrinsicsWebAssembly.td
lib/Target/WebAssembly/WebAssemblyISD.def
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
test/CodeGen/WebAssembly/simd-arith.ll
test/CodeGen/WebAssembly/simd-intrinsics.ll
test/MC/WebAssembly/simd-encodings.s