[llvm] 958437d - [Analysis] Remove getLoopPackage (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 18 08:16:45 PDT 2021
Author: Kazu Hirata
Date: 2021-07-18T08:16:29-07:00
New Revision: 958437de5226e483f0a58de3e0a1394097a57f0e
URL: https://github.com/llvm/llvm-project/commit/958437de5226e483f0a58de3e0a1394097a57f0e
DIFF: https://github.com/llvm/llvm-project/commit/958437de5226e483f0a58de3e0a1394097a57f0e.diff
LOG: [Analysis] Remove getLoopPackage (NFC)
The last use was removed on Apr 28, 2014 in commit
c5a3139ebd0d60617629da83c6c66261b66c75e5.
Added:
Modified:
llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h b/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
index 268377db9507..f581b18bff17 100644
--- a/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
+++ b/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
@@ -455,12 +455,6 @@ class BlockFrequencyInfoImplBase {
bool addToDist(Distribution &Dist, const LoopData *OuterLoop,
const BlockNode &Pred, const BlockNode &Succ, uint64_t Weight);
- LoopData &getLoopPackage(const BlockNode &Head) {
- assert(Head.Index < Working.size());
- assert(Working[Head.Index].isLoopHeader());
- return *Working[Head.Index].Loop;
- }
-
/// Analyze irreducible SCCs.
///
/// Separate irreducible SCCs from \c G, which is an explicit graph of \c
More information about the llvm-commits
mailing list