[all-commits] [llvm/llvm-project] 1ceb79: Port PlaceSafepoints pass to the new pass manager
Jan Dupej via All-commits
all-commits at lists.llvm.org
Fri Feb 17 09:18:17 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1ceb79e2e075745f0c02aa8206227f60362e3743
https://github.com/llvm/llvm-project/commit/1ceb79e2e075745f0c02aa8206227f60362e3743
Author: Jan Dupej <jandupej at microsoft.com>
Date: 2023-02-17 (Fri, 17 Feb 2023)
Changed paths:
M llvm/include/llvm/InitializePasses.h
A llvm/include/llvm/Transforms/Scalar/PlaceSafepoints.h
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
M llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp
M llvm/lib/Transforms/Scalar/Scalar.cpp
M llvm/test/Transforms/PlaceSafepoints/basic.ll
M llvm/test/Transforms/PlaceSafepoints/call-in-loop.ll
M llvm/test/Transforms/PlaceSafepoints/finite-loops.ll
M llvm/test/Transforms/PlaceSafepoints/libcall.ll
M llvm/test/Transforms/PlaceSafepoints/memset.ll
M llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll
M llvm/test/Transforms/PlaceSafepoints/split-backedge.ll
M llvm/test/Transforms/PlaceSafepoints/statepoint-coreclr.ll
M llvm/test/Transforms/PlaceSafepoints/statepoint-frameescape.ll
Log Message:
-----------
Port PlaceSafepoints pass to the new pass manager
This patch ports the PlaceSafepoints pass to the new pass manager as it is used by .NET/Mono. Compatibility with the legacy pass manager is maintained by adding PlaceSafepointsLegacyPass. This pass also depends on PlaceBackedgeSafepointsLegacyPass, which has been kept in the legacy-only variant, since it is apparently used only from PlaceSafepointsPass. It has been renamed, though, to indicate its legacy interface.
Reviewed By: aeubanks
Differential Revision: https://reviews.llvm.org/D136163
More information about the All-commits
mailing list