[all-commits] [llvm/llvm-project] f5c02d: [MemCpyOpt] Use EarliestEscapeInfo (#110280)

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Sep 30 00:36:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5c02dd06e03969e8d95746fc184609fe28f509d
      https://github.com/llvm/llvm-project/commit/f5c02dd06e03969e8d95746fc184609fe28f509d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-09-30 (Mon, 30 Sep 2024)

  Changed paths:
    M llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h
    M llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
    M llvm/test/Transforms/MemCpyOpt/memcpy.ll

  Log Message:
  -----------
  [MemCpyOpt] Use EarliestEscapeInfo (#110280)

Pass EarliestEscapeInfo to BatchAA in MemCpyOpt. This allows memcpy
elimination in cases where one of the involved pointers is captured
after the relevant memcpy/call.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list