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

via llvm-commits llvm-commits at lists.llvm.org
Tue May 27 09:44:04 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:

Hmm `add()` is already private because we don't want the user to start messing with the region instructions because they get added in by the handlers. But anyway I created an `addImpl(Instruction *I, bool DontTrackScore)` which is for internal use only.

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


More information about the llvm-commits mailing list