aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2020-08-03 13:54:00 -0700
committerThomas Lively <tlively@google.com>2020-08-03 13:54:00 -0700
commitcb327922101b28ea70ec68d7f026da0e5e388eed (patch)
treeb71ada14d6e798c79e938f9c66dc313db267c622 /clang/lib/Frontend/CompilerInvocation.cpp
parent66e7dce714fabd3ddb1aed635e4b826476d4f1a2 (diff)
downloadllvm-cb327922101b28ea70ec68d7f026da0e5e388eed.zip
llvm-cb327922101b28ea70ec68d7f026da0e5e388eed.tar.gz
llvm-cb327922101b28ea70ec68d7f026da0e5e388eed.tar.bz2
[WebAssembly] Implement prototype v128.load{32,64}_zero instructions
Specified in https://github.com/WebAssembly/simd/pull/237, these instructions load the first vector lane from memory and zero the other lanes. Since these instructions are not officially part of the SIMD proposal, they are only available on an opt-in basis via LLVM intrinsics and clang builtin functions. If these instructions are merged to the proposal, this implementation will change so that the instructions will be generated from normal IR. At that point the intrinsics and builtin functions would be removed. This PR also changes the opcodes for the experimental f32x4.qfm{a,s} instructions because their opcodes conflicted with those of the v128.load{32,64}_zero instructions. The new opcodes were chosen to match those used in V8. Differential Revision: https://reviews.llvm.org/D84820
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions