[all-commits] [llvm/llvm-project] c18e78: [RISCV] Add copyPhysRegVector to extract common ve...
Craig Topper via All-commits
all-commits at lists.llvm.org
Fri Oct 27 12:44:10 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c18e78cfe3d3bd2982fe5964aff1df23be6b58ee
https://github.com/llvm/llvm-project/commit/c18e78cfe3d3bd2982fe5964aff1df23be6b58ee
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-10-27 (Fri, 27 Oct 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.h
Log Message:
-----------
[RISCV] Add copyPhysRegVector to extract common vector code out of copyPhysRegVector. (#70497)
Call this method directly from each vector case with the correct
arguments. This allows us to treat each type of copy as its own
special case and not pass variables to a common merge point. This
is similar to how AArch64 is structured.
I think I can reduce the number of operands to this new method, but
I'll do that as a follow up.
More information about the All-commits
mailing list