[all-commits] [llvm/llvm-project] 6bc5e8: [MemCpyOpt] Account for case that MemInsertPoint =...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Sep 4 06:04:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bc5e866bdba03fdd2d92bd72f3fce9c2973bf1f
      https://github.com/llvm/llvm-project/commit/6bc5e866bdba03fdd2d92bd72f3fce9c2973bf1f
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-09-04 (Fri, 04 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/test/Transforms/MemCpyOpt/preserve-memssa.ll

  Log Message:
  -----------
  [MemCpyOpt] Account for case that MemInsertPoint == BI.

In that case, the new MemoryDef needs to be inserted *before*
MemInsertPoint.




More information about the All-commits mailing list