[llvm] fd48d0a - [Transforms] Remove unused function createCallSiteSplittingPass
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 10 13:51:49 PDT 2023
Author: Kazu Hirata
Date: 2023-06-10T13:51:37-07:00
New Revision: fd48d0a0adaa5fcdd24d02a58ba8a6210adafc28
URL: https://github.com/llvm/llvm-project/commit/fd48d0a0adaa5fcdd24d02a58ba8a6210adafc28
DIFF: https://github.com/llvm/llvm-project/commit/fd48d0a0adaa5fcdd24d02a58ba8a6210adafc28.diff
LOG: [Transforms] Remove unused function createCallSiteSplittingPass
The last use was removed by:
commit d623b2f95fd559901f008a0588dddd0949a8db01
Author: Arthur Eubanks <aeubanks at google.com>
Date: Fri Mar 10 17:24:19 2023 -0800
Added:
Modified:
llvm/include/llvm/Transforms/Scalar.h
llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Scalar.h b/llvm/include/llvm/Transforms/Scalar.h
index d20c920399704..73fe18bbc8f5c 100644
--- a/llvm/include/llvm/Transforms/Scalar.h
+++ b/llvm/include/llvm/Transforms/Scalar.h
@@ -41,12 +41,6 @@ Pass *createRedundantDbgInstEliminationPass();
FunctionPass *createDeadCodeEliminationPass();
-//===----------------------------------------------------------------------===//
-//
-// CallSiteSplitting - This pass split call-site based on its known argument
-// values.
-FunctionPass *createCallSiteSplittingPass();
-
//===----------------------------------------------------------------------===//
//
// GuardWidening - An optimization over the @llvm.experimental.guard intrinsic
diff --git a/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp b/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
index 6665a927826d0..5f9528613e993 100644
--- a/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
+++ b/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp
@@ -570,9 +570,6 @@ INITIALIZE_PASS_DEPENDENCY(TargetTransformInfoWrapperPass)
INITIALIZE_PASS_DEPENDENCY(DominatorTreeWrapperPass)
INITIALIZE_PASS_END(CallSiteSplittingLegacyPass, "callsite-splitting",
"Call-site splitting", false, false)
-FunctionPass *llvm::createCallSiteSplittingPass() {
- return new CallSiteSplittingLegacyPass();
-}
PreservedAnalyses CallSiteSplittingPass::run(Function &F,
FunctionAnalysisManager &AM) {
More information about the llvm-commits
mailing list