[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


================
@@ -105,11 +105,10 @@ namespace llvm {
   // cycle.
   //
   // Only consider components that are part of \p Mask.
-  LLVM_ABI Instruction *FindEarliestCapture(const Value *V, Function &F,
-                                            bool ReturnCaptures,
-                                            const DominatorTree &DT,
-                                            CaptureComponents Mask,
-                                            unsigned MaxUsesToExplore = 0);
+  LLVM_ABI std::pair<Instruction *, CaptureComponents>
----------------
fhahn wrote:

comment about return value needs updating I think

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


More information about the llvm-commits mailing list