[PATCH] D157564: [MCP] Invalidate copy for super register in copy source
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 10 18:36:42 PDT 2023
lkail accepted this revision.
lkail added a comment.
This revision is now accepted and ready to land.
LGTM with nit.
================
Comment at: llvm/lib/CodeGen/MachineCopyPropagation.cpp:139
+ // the subregisters used in the source of the COPY.
+ SmallSet<MCRegUnit, 8> RegsToInvalidate;
+ auto InvalidateCopy = [&](MachineInstr *MI) {
----------------
nit: `RegsToInvalidate` -> `RegUnitsToInvalidate`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157564/new/
https://reviews.llvm.org/D157564
More information about the llvm-commits
mailing list