[llvm] [SandboxVectorizer] Register erase callback for seed collection (PR #115951)

via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 14:49:40 PST 2024


================
@@ -223,6 +223,11 @@ class SeedContainer {
     /// Note that the bundles themselves may have additional ordering, created
     /// by the subclasses by insertAt. The bundles themselves may also have used
     /// instructions.
+
+    // TODO: Range_size counts fully used-bundles. Further, iterating over
+    // anything other than the Bundles in a SeedContainer includes used seeds,
+    // so for now just check that removing all the seeds from a bundle also
----------------
vporpo wrote:

The sentence "so for now just check that removing all the seeds from a bundle also empties the bundle" seems to refer to the test.

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


More information about the llvm-commits mailing list