[all-commits] [llvm/llvm-project] 4d33cf: [MemCpyOpt] Avoid moving lifetime marker above def...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Nov 11 06:06:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4d33cf4166f9a4438cb36ab60502eef7affd7df2
      https://github.com/llvm/llvm-project/commit/4d33cf4166f9a4438cb36ab60502eef7affd7df2
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-11-11 (Fri, 11 Nov 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/test/Transforms/MemCpyOpt/lifetime.ll

  Log Message:
  -----------
  [MemCpyOpt] Avoid moving lifetime marker above def (PR58903)

This is unlikely to happen with opaque pointers, so just bail out
of the transform, rather than trying to move bitcasts/etc as well.

Fixes https://github.com/llvm/llvm-project/issues/58903.




More information about the All-commits mailing list