[all-commits] [llvm/llvm-project] 1e7d58: [MemProf] Fix when CallStackTrie has a single chai...

lifengxiang1025 via All-commits all-commits at lists.llvm.org
Fri Feb 2 06:12:53 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1e7d5871eed1bdf1eeb4b50eb9b911774f420ca1
      https://github.com/llvm/llvm-project/commit/1e7d5871eed1bdf1eeb4b50eb9b911774f420ca1
  Author: lifengxiang1025 <lifengxiang.1025 at bytedance.com>
  Date:   2024-02-02 (Fri, 02 Feb 2024)

  Changed paths:
    M llvm/lib/Analysis/MemoryProfileInfo.cpp
    A llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.exe
    A llvm/test/Transforms/PGOProfile/Inputs/memprof_loop_unroll.memprofraw
    M llvm/test/Transforms/PGOProfile/Inputs/update_memprof_inputs.sh
    A llvm/test/Transforms/PGOProfile/memprof_loop_unroll.ll

  Log Message:
  -----------
  [MemProf] Fix when CallStackTrie has a single chain to leaf with multi alloc type (#79433)

Fix one corner case when `CallStackTrie` has a single chain to leaf with
multi alloc type. This will cause stackIds in function summary is empty.




More information about the All-commits mailing list