[llvm] [SelectionDAG] Mark `SelectionDAGISel` destructor virtual (PR #94132)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 1 18:24:32 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-selectiondag

Author: None (paperchalice)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/94132.diff


1 Files Affected:

- (modified) llvm/include/llvm/CodeGen/SelectionDAGISel.h (+1-1) 


``````````diff
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGISel.h b/llvm/include/llvm/CodeGen/SelectionDAGISel.h
index fe655543a4705..4972af927cf1e 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGISel.h
@@ -78,7 +78,7 @@ class SelectionDAGISel {
 
   explicit SelectionDAGISel(TargetMachine &tm,
                             CodeGenOptLevel OL = CodeGenOptLevel::Default);
-  ~SelectionDAGISel();
+  virtual ~SelectionDAGISel();
 
   const TargetLowering *getTargetLowering() const { return TLI; }
 

``````````

</details>


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


More information about the llvm-commits mailing list