[PATCH] D150388: [CodeGen]Allow targets to use target specific COPY instructions for live range splitting
Christudasan Devadasan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 08:47:36 PDT 2023
cdevadas added inline comments.
================
Comment at: llvm/lib/CodeGen/RegAllocGreedy.cpp:2460
+ if (DestSrc) {
+ const MachineOperand *Dest = DestSrc->Destination;
+ const MachineOperand *Src = DestSrc->Source;
----------------
Change both Dest and Src to Ref as in the original code.
`const MachineOperand &Dest = *DestSrc->Destination;`
That will avoid the additional changes you made below.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150388/new/
https://reviews.llvm.org/D150388
More information about the llvm-commits
mailing list