diff options
| author | Thomas Lively <tlively@google.com> | 2018-09-07 21:54:46 +0000 |
|---|---|---|
| committer | Thomas Lively <tlively@google.com> | 2018-09-07 21:54:46 +0000 |
| commit | a0d25815a063bc825d0962dfd93e225242599795 (patch) | |
| tree | cea4a07bfd972b9f9f7fd4c756f82dbe099260b8 /llvm/lib/Target/WebAssembly/WebAssemblyISD.def | |
| parent | 3a406e5a744b836b1e170a3c7f9cff4893b5d3f1 (diff) | |
| download | bcm5719-llvm-a0d25815a063bc825d0962dfd93e225242599795.tar.gz bcm5719-llvm-a0d25815a063bc825d0962dfd93e225242599795.zip | |
[WebAssembly] v8x16.shuffle
Summary:
Since the shuffle mask is not exposed as an operand in the native ISel
DAG, create a new WebAssembly ISD node exposing the mask. The mask is
lowered as sixteen immediate byte indices no matter what type the
original vector shuffle was operating on.
This CL depends on D51656
Reviewers: aheejin, dschuff
Subscribers: sbc100, jgravelle-google, sunfish, llvm-commits
Differential Revision: https://reviews.llvm.org/D51659
llvm-svn: 341718
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyISD.def')
| -rw-r--r-- | llvm/lib/Target/WebAssembly/WebAssemblyISD.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/WebAssembly/WebAssemblyISD.def b/llvm/lib/Target/WebAssembly/WebAssemblyISD.def index c12550feabb..3c44d04598c 100644 --- a/llvm/lib/Target/WebAssembly/WebAssemblyISD.def +++ b/llvm/lib/Target/WebAssembly/WebAssemblyISD.def @@ -21,5 +21,6 @@ HANDLE_NODETYPE(ARGUMENT) HANDLE_NODETYPE(Wrapper) HANDLE_NODETYPE(BR_IF) HANDLE_NODETYPE(BR_TABLE) +HANDLE_NODETYPE(SHUFFLE) // add memory opcodes starting at ISD::FIRST_TARGET_MEMORY_OPCODE here... |

