[all-commits] [llvm/llvm-project] 4adefc: [Analysis][EphemeralValuesAnalysis][NFCI] Remove E...

vporpo via All-commits all-commits at lists.llvm.org
Fri Mar 21 18:18:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4adefcfb856aa304b7b0a9de1eec1814f3820e83
      https://github.com/llvm/llvm-project/commit/4adefcfb856aa304b7b0a9de1eec1814f3820e83
  Author: vporpo <vporpodas at google.com>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M llvm/include/llvm/Analysis/EphemeralValuesCache.h
    M llvm/include/llvm/Analysis/InlineCost.h
    M llvm/lib/Analysis/EphemeralValuesCache.cpp
    M llvm/lib/Analysis/InlineCost.cpp
    M llvm/lib/Transforms/IPO/Inliner.cpp
    M llvm/test/Transforms/Inline/cgscc-incremental-invalidate.ll
    M llvm/unittests/Analysis/EphemeralValuesCacheTest.cpp

  Log Message:
  -----------
  [Analysis][EphemeralValuesAnalysis][NFCI] Remove EphemeralValuesCache class (#132454)

This is a follow-up to https://github.com/llvm/llvm-project/pull/130210.
The EphemeralValuesAnalysis pass used to return an EphemeralValuesCache
object which used to hold the ephemeral values and used to provide a
lazy collection of the ephemeral values, and an invalidation using the
`clear()` function.

This patch removes the EphemeralValuesCache class completely and instead
returns the SmallVector containing the ephemeral values.



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