[llvm] c7cf942 - [Scalar] Remove unused function createLICMPass
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 10 21:53:02 PDT 2023
Author: Kazu Hirata
Date: 2023-06-10T21:52:50-07:00
New Revision: c7cf942de30db65a11d3ad664a63ce2e520985fd
URL: https://github.com/llvm/llvm-project/commit/c7cf942de30db65a11d3ad664a63ce2e520985fd
DIFF: https://github.com/llvm/llvm-project/commit/c7cf942de30db65a11d3ad664a63ce2e520985fd.diff
LOG: [Scalar] Remove unused function createLICMPass
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/LICM.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Scalar.h b/llvm/include/llvm/Transforms/Scalar.h
index 6ad3fce3b8035..102ec4a208d72 100644
--- a/llvm/include/llvm/Transforms/Scalar.h
+++ b/llvm/include/llvm/Transforms/Scalar.h
@@ -71,9 +71,6 @@ FunctionPass *createSROAPass(bool PreserveCFG = true);
// LICM - This pass is a loop invariant code motion and memory promotion pass.
//
Pass *createLICMPass();
-Pass *createLICMPass(unsigned LicmMssaOptCap,
- unsigned LicmMssaNoAccForPromotionCap,
- bool AllowSpeculation);
//===----------------------------------------------------------------------===//
//
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp
index 5079ef9920e98..3d282781d7e8c 100644
--- a/llvm/lib/Transforms/Scalar/LICM.cpp
+++ b/llvm/lib/Transforms/Scalar/LICM.cpp
@@ -360,12 +360,6 @@ INITIALIZE_PASS_END(LegacyLICMPass, "licm", "Loop Invariant Code Motion", false,
false)
Pass *llvm::createLICMPass() { return new LegacyLICMPass(); }
-Pass *llvm::createLICMPass(unsigned LicmMssaOptCap,
- unsigned LicmMssaNoAccForPromotionCap,
- bool LicmAllowSpeculation) {
- return new LegacyLICMPass(LicmMssaOptCap, LicmMssaNoAccForPromotionCap,
- LicmAllowSpeculation);
-}
llvm::SinkAndHoistLICMFlags::SinkAndHoistLICMFlags(bool IsSink, Loop &L,
MemorySSA &MSSA)
More information about the llvm-commits
mailing list