aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CMakeLists.txt
diff options
context:
space:
mode:
authorpaperchalice <liujunchang97@outlook.com>2024-01-25 17:24:05 +0800
committerGitHub <noreply@github.com>2024-01-25 17:24:05 +0800
commit12a8bc09ca4fa975d3e79a05e1fb14f03b23e3d5 (patch)
tree93c702c5bec7721d2f2764aa2ede19d20e26bbb4 /llvm/lib/CodeGen/CMakeLists.txt
parent50cc07f1bc3e4527a51b0aed6cf0479e87d61f37 (diff)
downloadllvm-12a8bc09ca4fa975d3e79a05e1fb14f03b23e3d5.zip
llvm-12a8bc09ca4fa975d3e79a05e1fb14f03b23e3d5.tar.gz
llvm-12a8bc09ca4fa975d3e79a05e1fb14f03b23e3d5.tar.bz2
[CodeGen] Port FreeMachineFunction to new pass manager (#79421)
This pass should be the last machine function pass in pipeline, also ignore `PI.runAfterPass(*P, MF, PassPA);` to avoid accessing a dangling reference.
Diffstat (limited to 'llvm/lib/CodeGen/CMakeLists.txt')
-rw-r--r--llvm/lib/CodeGen/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/CMakeLists.txt b/llvm/lib/CodeGen/CMakeLists.txt
index 28c3211..8d1c22d 100644
--- a/llvm/lib/CodeGen/CMakeLists.txt
+++ b/llvm/lib/CodeGen/CMakeLists.txt
@@ -78,6 +78,7 @@ add_llvm_component_library(LLVMCodeGen
FEntryInserter.cpp
FinalizeISel.cpp
FixupStatepointCallerSaved.cpp
+ FreeMachineFunction.cpp
FuncletLayout.cpp
GCMetadata.cpp
GCMetadataPrinter.cpp