1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

[Analysis] Remove getLoopPackage (NFC)

The last use was removed on Apr 28, 2014 in commit
c5a3139ebd0d60617629da83c6c66261b66c75e5.
This commit is contained in:
Kazu Hirata 2021-07-18 08:16:29 -07:00
parent 3a0faa0bb3
commit 52cf78c743

View File

@ -455,12 +455,6 @@ public:
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