[all-commits] [llvm/llvm-project] 035882: [Profile] Remove __llvm_profile_has_correlation() ...

Zequan Wu via All-commits all-commits at lists.llvm.org
Tue Nov 14 11:03:25 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 035882590631b8fdcbbea13b981f7ed5f8be7951
      https://github.com/llvm/llvm-project/commit/035882590631b8fdcbbea13b981f7ed5f8be7951
  Author: Zequan Wu <zequanwu at google.com>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

  Changed paths:
    M compiler-rt/lib/profile/InstrProfiling.c
    M compiler-rt/lib/profile/InstrProfiling.h
    M compiler-rt/lib/profile/InstrProfilingBuffer.c
    M compiler-rt/lib/profile/InstrProfilingMerge.c
    M compiler-rt/lib/profile/InstrProfilingWriter.c

  Log Message:
  -----------
  [Profile] Remove __llvm_profile_has_correlation() (#71996)

As discussed in
https://github.com/llvm/llvm-project/pull/70856#issuecomment-1791465183
and
https://github.com/llvm/llvm-project/pull/70856#issuecomment-1806281746,
it's better not to do runtime check for VARIANT_MASK_DBG_CORRELATE bit
in __llvm_profile_raw_version when deciding if profile data/name
sections should be dropped or not.




More information about the All-commits mailing list