[all-commits] [llvm/llvm-project] 06aa8b: [CodeGen] Add analyses to help for porting GC pass...
paperchalice via All-commits
all-commits at lists.llvm.org
Tue Dec 12 23:56:26 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 06aa8b189ab3a13580d0abdcd5bf30ef22b119bd
https://github.com/llvm/llvm-project/commit/06aa8b189ab3a13580d0abdcd5bf30ef22b119bd
Author: paperchalice <liujunchang97 at outlook.com>
Date: 2023-12-13 (Wed, 13 Dec 2023)
Changed paths:
M llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
M llvm/include/llvm/CodeGen/GCMetadata.h
M llvm/include/llvm/CodeGen/MachinePassRegistry.def
M llvm/lib/CodeGen/GCMetadata.cpp
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
Log Message:
-----------
[CodeGen] Add analyses to help for porting GC passes (#74972)
- `CollectorMetadataAnalysis` provides `GCStrategyMap`.
- `GCFunctionAnalysis` provides `GCFunctionInfo`.
`GCStrategyMap` owns `GCStrategy` pointers and this
pass is used by `AsmPrinter` to iterate all GC strategies.
Most passes that require `GCModuleInfo` actually require the
`GCFunctionInfo`,
so add `GCFunctionAnalysis` for convenience.
More information about the All-commits
mailing list