[all-commits] [llvm/llvm-project] a95a81: [AArch64] Lower fixed-length vector_shuffle to SVE...
Benjamin Maxwell via All-commits
all-commits at lists.llvm.org
Wed Nov 16 03:48:16 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a95a8188e897df282b3cf1e79bd46ec095591a44
https://github.com/llvm/llvm-project/commit/a95a8188e897df282b3cf1e79bd46ec095591a44
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2022-11-16 (Wed, 16 Nov 2022)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll
M llvm/test/CodeGen/AArch64/sve-fixed-length-splat-vector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-extract-subvector.ll
M llvm/test/CodeGen/AArch64/sve-streaming-mode-fixed-length-shuffle.ll
Log Message:
-----------
[AArch64] Lower fixed-length vector_shuffle to SVE splat if possible
This adds an extra case to check if a vector_shuffle for a fixed-length
vector that's being lowered to SVE, is just a splat. Doing this avoids
a round trip to the stack and back for a few cases.
Reviewed By: c-rhodes
Differential Revision: https://reviews.llvm.org/D137966
More information about the All-commits
mailing list