aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2023-02-07 10:44:35 +0000
committerDavid Green <david.green@arm.com>2023-02-07 10:44:35 +0000
commit734d113a6c88f216b9fe7b8b797006927e3167c6 (patch)
treec7419bd8a142d33373e1ee09cbcd6b0534129393 /llvm/lib/CodeGen/MachineOperand.cpp
parent1ae4bd83ce2ac9d8a32493bbc5612bc19c374a49 (diff)
downloadllvm-734d113a6c88f216b9fe7b8b797006927e3167c6.zip
llvm-734d113a6c88f216b9fe7b8b797006927e3167c6.tar.gz
llvm-734d113a6c88f216b9fe7b8b797006927e3167c6.tar.bz2
[ARM] Remove reduce(shuffle) if all the lanes are used
This looks for vaddv(shuffle) or vmlav(shuffle, shuffle), with a shuffle where all the lanes are used once. Due to the reduction being commutative the shuffle can be removed. Differential Revision: https://reviews.llvm.org/D143382
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions