aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2021-04-09 11:21:49 -0700
committerThomas Lively <tlively@google.com>2021-04-09 11:21:49 -0700
commitf30c429da63a0f7506770b926229486e74fda3b3 (patch)
treeb9db0f309c63c898ff06528f60c9239454aa37f4 /llvm/lib/Support/Path.cpp
parentdc4abca7662b74467c2b6bceb7e8b046ae04b8a0 (diff)
downloadllvm-f30c429da63a0f7506770b926229486e74fda3b3.zip
llvm-f30c429da63a0f7506770b926229486e74fda3b3.tar.gz
llvm-f30c429da63a0f7506770b926229486e74fda3b3.tar.bz2
[WebAssembly] Add shuffles as an option for lowering BUILD_VECTOR
When lowering a BUILD_VECTOR SDNode, we choose among various possible vector creation instructions in an attempt to minimize the total number of instructions used. We previously considered using swizzles, consts, and splats, and this patch adds shuffles as well. A common pattern that now lowers to shuffles is when two 64-bit vectors are concatenated. Previously, concatenations generally lowered to sequences of extract_lane and replace_lane instructions when they could have been a single shuffle. Differential Revision: https://reviews.llvm.org/D100018
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions