[AArch64] Reuse larger DUPLANE if available
authorJingu Kang <jingu.kang@arm.com>
Tue, 18 Jul 2023 12:52:20 +0000 (13:52 +0100)
committerJingu Kang <jingu.kang@arm.com>
Thu, 20 Jul 2023 14:49:33 +0000 (15:49 +0100)
commit8bad7ad6d6cb24d2f73e102856e175e0a3211e39
treee228472b28ab5a87e0a46831ce06b728673e3d83
parentcf70e89a8dd34514f1db9165f0e48be1d328b704
[AArch64] Reuse larger DUPLANE if available

As combining DUP, try to reuse larger DUPLANELANE.

Differential Revision: https://reviews.llvm.org/D155592
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64InstrFormats.td
llvm/test/CodeGen/AArch64/aarch64-matrix-umull-smull.ll
llvm/test/CodeGen/AArch64/duplane-index-patfrags.ll [new file with mode: 0644]