[llvm] f63b1d2 - [SelectionDAG] Mark `SelectionDAGISel` destructor virtual (#94132)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 1 18:24:03 PDT 2024
Author: paperchalice
Date: 2024-06-02T09:23:59+08:00
New Revision: f63b1d282609df0b4b5ae280b04722c6fecb505e
URL: https://github.com/llvm/llvm-project/commit/f63b1d282609df0b4b5ae280b04722c6fecb505e
DIFF: https://github.com/llvm/llvm-project/commit/f63b1d282609df0b4b5ae280b04722c6fecb505e.diff
LOG: [SelectionDAG] Mark `SelectionDAGISel` destructor virtual (#94132)
Added:
Modified:
llvm/include/llvm/CodeGen/SelectionDAGISel.h
Removed:
################################################################################
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; }
More information about the llvm-commits
mailing list