[llvm] ee05479 - [PowerPC] Remove dead declaration mightUseCTR
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sat May 6 11:26:45 PDT 2023
Author: Kazu Hirata
Date: 2023-05-06T11:26:31-07:00
New Revision: ee054798200fa783e81d5913ac4e14caa90126f0
URL: https://github.com/llvm/llvm-project/commit/ee054798200fa783e81d5913ac4e14caa90126f0
DIFF: https://github.com/llvm/llvm-project/commit/ee054798200fa783e81d5913ac4e14caa90126f0.diff
LOG: [PowerPC] Remove dead declaration mightUseCTR
The corresponding function definition was removed on Dec 2, 2022 in
commit b5e1fc19da9527b96665bc4937f96a60092e77c6.
Added:
Modified:
llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h b/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
index 5a6b4c9f89f42..c3ade9968c336 100644
--- a/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
+++ b/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
@@ -34,8 +34,6 @@ class PPCTTIImpl : public BasicTTIImplBase<PPCTTIImpl> {
const PPCSubtarget *getST() const { return ST; }
const PPCTargetLowering *getTLI() const { return TLI; }
- bool mightUseCTR(BasicBlock *BB, TargetLibraryInfo *LibInfo,
- SmallPtrSetImpl<const Value *> &Visited);
public:
explicit PPCTTIImpl(const PPCTargetMachine *TM, const Function &F)
More information about the llvm-commits
mailing list