[llvm] [AA] Take read-only provenance captures into account (PR #143097)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 02:59:17 PDT 2025


================
@@ -179,7 +179,8 @@ class LLVM_ABI EarliestEscapeAnalysis final : public CaptureAnalysis {
   /// not escape, or nullptr if it never escapes. The "earliest" instruction
   /// may be a conservative approximation, e.g. the first instruction in the
   /// function is always a legal choice.
-  DenseMap<const Value *, Instruction *> EarliestEscapes;
+  DenseMap<const Value *, std::pair<Instruction *, CaptureComponents>>
----------------
fhahn wrote:

comment above needs updating

https://github.com/llvm/llvm-project/pull/143097


More information about the llvm-commits mailing list