aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/AsmParser/LLLexer.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2023-05-02 10:43:23 -0700
committerTeresa Johnson <tejohnson@google.com>2023-05-02 13:11:35 -0700
commite0577ce367759127893def95ce63910de15de1d5 (patch)
treef6c03867ba7d3be511de693cd24225a807ea0dff /llvm/lib/AsmParser/LLLexer.cpp
parent1c61accbde8b6b2d18d023955dea93b2e27cfb0b (diff)
downloadllvm-e0577ce367759127893def95ce63910de15de1d5.zip
llvm-e0577ce367759127893def95ce63910de15de1d5.tar.gz
llvm-e0577ce367759127893def95ce63910de15de1d5.tar.bz2
[MemProf] Removed unused allocation type
Removes the 'notcoldandcold' allocation type summary (de)serialization support added in D135714, after realizing that this will never be generated in practice. There are 2 uses of the allocation type keywords in the summary. One is for the individual profiled memprof context summaries, and each context can only be assigned a single type of hotness. The second is in the clone version information produced by the MemProfContextDisambiguation whole program step, and we only create a clone for a specific allocation type. Differential Revision: https://reviews.llvm.org/D149669
Diffstat (limited to 'llvm/lib/AsmParser/LLLexer.cpp')
-rw-r--r--llvm/lib/AsmParser/LLLexer.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLLexer.cpp b/llvm/lib/AsmParser/LLLexer.cpp
index f24c410..6525dfd 100644
--- a/llvm/lib/AsmParser/LLLexer.cpp
+++ b/llvm/lib/AsmParser/LLLexer.cpp
@@ -799,7 +799,6 @@ lltok::Kind LLLexer::LexIdentifier() {
KEYWORD(versions);
KEYWORD(memProf);
KEYWORD(notcold);
- KEYWORD(notcoldandcold);
#undef KEYWORD