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

hjyamauchi via All-commits all-commits at lists.llvm.org
Wed Jul 15 10:55:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a539faf74b9b4c25ee3b880e4007564bd5139b0
      https://github.com/llvm/llvm-project/commit/4a539faf74b9b4c25ee3b880e4007564bd5139b0
  Author: Hiroshi Yamauchi <yamauchi at google.com>
  Date:   2020-07-15 (Wed, 15 Jul 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.




More information about the All-commits mailing list