[all-commits] [llvm/llvm-project] e0577c: [MemProf] Removed unused allocation type

Teresa Johnson via All-commits all-commits at lists.llvm.org
Tue May 2 13:11:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0577ce367759127893def95ce63910de15de1d5
      https://github.com/llvm/llvm-project/commit/e0577ce367759127893def95ce63910de15de1d5
  Author: Teresa Johnson <tejohnson at google.com>
  Date:   2023-05-02 (Tue, 02 May 2023)

  Changed paths:
    M llvm/include/llvm/AsmParser/LLToken.h
    M llvm/lib/AsmParser/LLLexer.cpp
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/lib/IR/AsmWriter.cpp
    M llvm/test/Assembler/thinlto-memprof-summary.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list