[llvm] [SandboxIR][Region] Auxiliary vector metadata now requires a region (PR #137443)

via llvm-commits llvm-commits at lists.llvm.org
Fri May 23 19:39:39 PDT 2025


================
@@ -115,7 +115,7 @@ class Region {
   Context::CallbackID EraseInstCB;
 
   /// Adds I to the set.
-  void add(Instruction *I);
+  void add(Instruction *I, bool TrackScore = true);
----------------
vporpo wrote:

Yes, I agree. Having two separate functions and keeping the 2-argument one private makes sense.

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


More information about the llvm-commits mailing list