From 0f1678cd086b8a1c5a8457b25f1dfff39ca9063f Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 16 Apr 2020 21:19:45 +0200 Subject: [PATCH] [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... --- llvm/include/llvm/Transforms/Utils/PredicateInfo.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/llvm/include/llvm/Transforms/Utils/PredicateInfo.h b/llvm/include/llvm/Transforms/Utils/PredicateInfo.h index a6623e2..37231dc 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 Infos; - SmallVector UninsertedInfos; }; // This owns the all the predicate infos in the function, placed or not. iplist AllInfos; -- 2.7.4