[all-commits] [llvm/llvm-project] f78f50: [PGO] Extend the value profile buckets for mem op ...

hjyamauchi via All-commits all-commits at lists.llvm.org
Mon Aug 3 11:04:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f78f509c75861dc4e26f9a22ad12996bf8005a2e
      https://github.com/llvm/llvm-project/commit/f78f509c75861dc4e26f9a22ad12996bf8005a2e
  Author: Hiroshi Yamauchi <yamauchi at google.com>
  Date:   2020-08-03 (Mon, 03 Aug 2020)

  Changed paths:
    M compiler-rt/include/profile/InstrProfData.inc
    M compiler-rt/lib/profile/InstrProfilingValue.c
    M llvm/include/llvm/ProfileData/InstrProf.h
    M llvm/include/llvm/ProfileData/InstrProfData.inc
    M llvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h
    M llvm/lib/ProfileData/InstrProf.cpp
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
    M llvm/test/Transforms/PGOProfile/memcpy.ll
    M llvm/test/Transforms/PGOProfile/memop_profile_funclet.ll
    M llvm/unittests/ProfileData/CMakeLists.txt
    A llvm/unittests/ProfileData/InstrProfDataTest.cpp

  Log Message:
  -----------
  [PGO] Extend the value profile buckets for mem op sizes.

Extend the memop value profile buckets to be more flexible (could accommodate a
mix of individual values and ranges) and to cover more value ranges (from 11 to
22 buckets).

Disabled behind a flag (to be enabled separately) and the existing code to be
removed later.

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




More information about the All-commits mailing list