[all-commits] [llvm/llvm-project] 94704e: [MemCpyOpt] Add helper to erase instructions (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Oct 2 12:54:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 94704ed008f78e71aa42a452d8b03c122e0f78cd
      https://github.com/llvm/llvm-project/commit/94704ed008f78e71aa42a452d8b03c122e0f78cd
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-10-02 (Fri, 02 Oct 2020)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp

  Log Message:
  -----------
  [MemCpyOpt] Add helper to erase instructions (NFC)

Next to erasing the instruction, we also always want to remove
it from MSSA and MD. Use a common function to do so.

This is a refactoring split out from D26739.




More information about the All-commits mailing list