[all-commits] [llvm/llvm-project] 9a3144: [AArch64] Reuse larger DUP if available
David Green via All-commits
all-commits at lists.llvm.org
Sun May 29 11:42:26 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9a3144d078389c19b269b8dd94b9f5306754c039
https://github.com/llvm/llvm-project/commit/9a3144d078389c19b269b8dd94b9f5306754c039
Author: David Green <david.green at arm.com>
Date: 2022-05-29 (Sun, 29 May 2022)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/test/CodeGen/AArch64/aarch64-matrix-umull-smull.ll
Log Message:
-----------
[AArch64] Reuse larger DUP if available
If both a v2i32 DUP(x) and a v4i32 DUP(x) node exists, we can re-use the
larger node using a vector extract to obtain the smaller. This comes up
in the smull/smlal code, but needs a small fixup to allow the smull2
code in tryExtendDUPToExtractHigh/performAddSubLongCombine to still
match smull2 extracts.
Differential Revision: https://reviews.llvm.org/D126449
More information about the All-commits
mailing list