diff options
author | Thomas Lively <tlively@google.com> | 2020-07-16 11:37:25 -0700 |
---|---|---|
committer | Thomas Lively <tlively@google.com> | 2020-07-16 11:37:25 -0700 |
commit | ecb2e5bcd7e616f62a8c61722ee8d4033c78e32e (patch) | |
tree | 71c932d149c753fff09bdb17413cf395673926c8 /llvm/lib/CodeGen/LiveVariables.cpp | |
parent | b3417d80aed708d64e810ed9c5d0d0fb84b65715 (diff) | |
download | llvm-ecb2e5bcd7e616f62a8c61722ee8d4033c78e32e.zip llvm-ecb2e5bcd7e616f62a8c61722ee8d4033c78e32e.tar.gz llvm-ecb2e5bcd7e616f62a8c61722ee8d4033c78e32e.tar.bz2 |
[WebAssembly] Implement v128.select
Although the SIMD spec proposal does not specifically include a
select instruction, the select instruction in MVP WebAssembly is
polymorphic over the selected types, so it is able to work on v128
values when they are enabled. This patch introduces a new variant of
the select instruction for each legal vector type. Additional ISel
patterns are adapted from the SELECT_I32 and SELECT_I64 patterns.
Depends on D83736.
Differential Revision: https://reviews.llvm.org/D83737
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions