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

hjyamauchi via All-commits all-commits at lists.llvm.org
Thu Jun 25 10:47:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 63a89693f09f6b24ce4f2350d828150bd9c4f3e8
      https://github.com/llvm/llvm-project/commit/63a89693f09f6b24ce4f2350d828150bd9c4f3e8
  Author: Hiroshi Yamauchi <yamauchi at google.com>
  Date:   2020-06-25 (Thu, 25 Jun 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