[llvm] 0f1678c - [PredicateInfo] Remove unused member (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 17 09:30:45 PDT 2020
Author: Nikita Popov
Date: 2020-04-17T18:30:36+02:00
New Revision: 0f1678cd086b8a1c5a8457b25f1dfff39ca9063f
URL: https://github.com/llvm/llvm-project/commit/0f1678cd086b8a1c5a8457b25f1dfff39ca9063f
DIFF: https://github.com/llvm/llvm-project/commit/0f1678cd086b8a1c5a8457b25f1dfff39ca9063f.diff
LOG: [PredicateInfo] Remove unused member (NFC)
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...
Added:
Modified:
llvm/include/llvm/Transforms/Utils/PredicateInfo.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Utils/PredicateInfo.h b/llvm/include/llvm/Transforms/Utils/PredicateInfo.h
index a6623e231946..37231dce6b42 100644
--- a/llvm/include/llvm/Transforms/Utils/PredicateInfo.h
+++ b/llvm/include/llvm/Transforms/Utils/PredicateInfo.h
@@ -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;
More information about the llvm-commits
mailing list