From 5121400e71bbe821488240335cbffb41fe852514 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 5 Dec 2020 16:22:12 -0800 Subject: [PATCH] [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. --- llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h | 1 - 1 file changed, 1 deletion(-) 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 @@ private: // constant GEP base. bool emitBaseConstants(GlobalVariable *BaseGV); void deleteDeadCastInst() const; - bool optimizeConstants(Function &Fn); }; } // end namespace llvm