[all-commits] [llvm/llvm-project] e35fbf: [MachineCopyPropagation] Pass DestSourcePair to is...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Mar 25 17:21:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e35fbf5c04f4719db8ff7c7a993cbf96bb706903
      https://github.com/llvm/llvm-project/commit/e35fbf5c04f4719db8ff7c7a993cbf96bb706903
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-03-25 (Sat, 25 Mar 2023)

  Changed paths:
    M llvm/lib/CodeGen/MachineCopyPropagation.cpp

  Log Message:
  -----------
  [MachineCopyPropagation] Pass DestSourcePair to isBackwardPropagatableCopy. NFC

Instead of calling isCopyInstr again, just pass the DestSourcePair
from the isCopyInstr call from the caller.




More information about the All-commits mailing list