[llvm] [PowerPC] Add DMR and WACC COPY support (PR #149129)
Lei Huang via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 1 07:58:11 PDT 2025
================
@@ -122,6 +122,33 @@ namespace {
// Transform the original copy into a subregister extraction copy.
SrcMO.setReg(NewVReg);
SrcMO.setSubReg(PPC::sub_64);
+ } else if (IsRegInClass(DstMO.getReg(), &PPC::WACC_HIRCRegClass, MRI) &&
+ IsRegInClass(SrcMO.getReg(), &PPC::WACCRCRegClass, MRI)) {
----------------
lei137 wrote:
Good to add a comment about the type of copy this is meant to do similar to the blocks above.
https://github.com/llvm/llvm-project/pull/149129
More information about the llvm-commits
mailing list