[all-commits] [llvm/llvm-project] 12ac04: [CSSPGO][NFC] Fix a debug dump issue.

Hongtao Yu via All-commits all-commits at lists.llvm.org
Fri Mar 26 16:07:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 12ac0403b1d9a1eef1a06f8ef710580874d43b7d
      https://github.com/llvm/llvm-project/commit/12ac0403b1d9a1eef1a06f8ef710580874d43b7d
  Author: Hongtao Yu <hoy at fb.com>
  Date:   2021-03-26 (Fri, 26 Mar 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleContextTracker.cpp

  Log Message:
  -----------
  [CSSPGO][NFC] Fix a debug dump issue.

During context promotion, intermediate nodes that are on a call path but do not come with a profile can be promoted together with their parent nodes. Do not print sample context string for such nodes since they do not have profile.

Reviewed By: wenlei

Differential Revision: https://reviews.llvm.org/D99441




More information about the All-commits mailing list