[all-commits] [llvm/llvm-project] 5fa14e: [MemCpyOpt] Don't hoist above producer of pointer ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Oct 5 05:52:59 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5fa14ee835223995b9df67985c30341a01e1e01b
      https://github.com/llvm/llvm-project/commit/5fa14ee835223995b9df67985c30341a01e1e01b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-10-05 (Wed, 05 Oct 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/test/Transforms/MemCpyOpt/aggregate-type-crash.ll

  Log Message:
  -----------
  [MemCpyOpt] Don't hoist above producer of pointer operand

This was already handled correctly below, but not checked for the
original store pointer operand. Encountered when converting tests
to opaque pointers, where the intermediate bitcast goes away.




More information about the All-commits mailing list