[llvm-branch-commits] [llvm] 5121400 - [ConstantHoisting] Remove unused declaration optimizeConstants (NFC)
Kazu Hirata via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Dec 5 16:27:48 PST 2020
Author: Kazu Hirata
Date: 2020-12-05T16:22:12-08:00
New Revision: 5121400e71bbe821488240335cbffb41fe852514
URL: https://github.com/llvm/llvm-project/commit/5121400e71bbe821488240335cbffb41fe852514
DIFF: https://github.com/llvm/llvm-project/commit/5121400e71bbe821488240335cbffb41fe852514.diff
LOG: [ConstantHoisting] Remove unused declaration optimizeConstants (NFC)
The function was renamed to runImpl on Jul 2, 2016 in commit
071d8306b0d9d1345c1da84ae3e1c1b231ffd29d, but the old declaration has
remained since.
Added:
Modified:
llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h b/llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h
index 26d4a2476a86..11379e59467f 100644
--- a/llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h
+++ b/llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h
@@ -198,7 +198,6 @@ class ConstantHoistingPass : public PassInfoMixin<ConstantHoistingPass> {
// constant GEP base.
bool emitBaseConstants(GlobalVariable *BaseGV);
void deleteDeadCastInst() const;
- bool optimizeConstants(Function &Fn);
};
} // end namespace llvm
More information about the llvm-branch-commits
mailing list