[llvm] [SandboxVec][VecUtils] Introduce DeadInstrMorgue (PR #221482)

Anshil Gandhi via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 14:46:07 PDT 2026


================
@@ -403,6 +403,40 @@ class VecUtils {
     }
   };
 
+  /// Utility class to collect and erase dead instructions.
+  class DeadInstructionMorgue {
+  public:
+    DeadInstructionMorgue() = default;
+    DeadInstructionMorgue(const DeadInstructionMorgue &) = delete;
+
+    /// After we create vectors for groups of instructions, the original
----------------
gandhi56 wrote:

Improved the overall documentation

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


More information about the llvm-commits mailing list