Skip to content

Commit

Permalink
[PredicateInfo] Remove unused member (NFC)
Browse files Browse the repository at this point in the history
PredicateInfo takes up a large amount of memory during IPSCCP
with many functions. And a large part of that space seems to
be going completely to waste here...
  • Loading branch information
nikic committed Apr 17, 2020
1 parent a7e15b0 commit 0f1678c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions llvm/include/llvm/Transforms/Utils/PredicateInfo.h
Expand Up @@ -197,11 +197,8 @@ class PredicateInfo {
private:
// Used to store information about each value we might rename.
struct ValueInfo {
// Information about each possible copy. During processing, this is each
// inserted info. After processing, we move the uninserted ones to the
// uninserted vector.
// Information about each possible copy.
SmallVector<PredicateBase *, 4> Infos;
SmallVector<PredicateBase *, 4> UninsertedInfos;
};
// This owns the all the predicate infos in the function, placed or not.
iplist<PredicateBase> AllInfos;
Expand Down

0 comments on commit 0f1678c

Please sign in to comment.