summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
diff options
context:
space:
mode:
authorMatthew Simpson <mssimpso@codeaurora.org>2018-04-26 13:48:33 +0000
committerMatthew Simpson <mssimpso@codeaurora.org>2018-04-26 13:48:33 +0000
commitb4096ebe26007b3b05aba4c860dd1dd966ec5bfe (patch)
tree9d625d3856f156a54981c0842fd1a628a587de43 /llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h
parent130b8b3f2b49a0c04f5acb8e56c0f75245e222e8 (diff)
downloadbcm5719-llvm-b4096ebe26007b3b05aba4c860dd1dd966ec5bfe.tar.gz
bcm5719-llvm-b4096ebe26007b3b05aba4c860dd1dd966ec5bfe.zip
[TTI, AArch64] Add transpose shuffle kind
This patch adds a new shuffle kind useful for transposing a 2xn matrix. These transpose shuffle masks read corresponding even- or odd-numbered vector elements from two n-dimensional source vectors and write each result into consecutive elements of an n-dimensional destination vector. The transpose shuffle kind is meant to model the TRN1 and TRN2 AArch64 instructions. As such, this patch also considers transpose shuffles in the AArch64 implementation of getShuffleCost. Differential Revision: https://reviews.llvm.org/D45982 llvm-svn: 330941
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud