[llvm-dev] MachineCSE ignores COPY

vivek pandya via llvm-dev llvm-dev at lists.llvm.org
Sun Oct 18 23:07:26 PDT 2020


Hello,

I see that MachienCSE ignores COPY instructions
bool MachineCSE::isCSECandidate(MachineInstr *MI) {
...
  // Ignore copies.
  if (MI->isCopyLike())
    return false;

Are there any correctness concerns?

Thanks,
Vivek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201019/a68d6d0f/attachment.html>


More information about the llvm-dev mailing list