[PATCH] D130100: [aarch64-mi-peepholeopt] Combine a gpr->fp copy of load gpr into load gp directly.
Mingming Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 19 09:59:40 PDT 2022
mingmingl created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
mingmingl requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Pattern before:
%1:gpr64 = LDRXui ...
%2:fpr64 = COPY %1:gpr64
Pattern after:
%1:gpr64 = LDRDui
The pattern show up when elements are read from arrays, and moved into floating
point registers or SIMD registers for calculation.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130100
Files:
llvm/lib/Target/AArch64/AArch64MIPeepholeOpt.cpp
llvm/test/CodeGen/AArch64/arm64-subvector-extend.ll
llvm/test/CodeGen/AArch64/arm64-vmul.ll
llvm/test/CodeGen/AArch64/dp1.ll
llvm/test/CodeGen/AArch64/neon-dotpattern.ll
llvm/test/CodeGen/AArch64/neon-extadd.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130100.445861.patch
Type: text/x-patch
Size: 33178 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220719/a5ec9224/attachment.bin>
More information about the llvm-commits
mailing list