[all-commits] [llvm/llvm-project] fb29d8: [CSSPGO] Rename the field of SampleContextFrame

ictwanglei via All-commits all-commits at lists.llvm.org
Mon Oct 4 19:14:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb29d812e4a536ee1ee81566fd584902f21f4ecb
      https://github.com/llvm/llvm-project/commit/fb29d812e4a536ee1ee81566fd584902f21f4ecb
  Author: wlei <wlei at fb.com>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

  Changed paths:
    M llvm/include/llvm/ProfileData/SampleProf.h
    M llvm/lib/ProfileData/SampleProfWriter.cpp
    M llvm/lib/Transforms/IPO/SampleContextTracker.cpp
    M llvm/tools/llvm-profgen/CallContext.h
    M llvm/tools/llvm-profgen/ProfileGenerator.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp

  Log Message:
  -----------
  [CSSPGO] Rename the field of SampleContextFrame

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


  Commit: 46cf7d75d90ade379dc22826dc0c8976d6e9838e
      https://github.com/llvm/llvm-project/commit/46cf7d75d90ade379dc22826dc0c8976d6e9838e
  Author: wlei <wlei at fb.com>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

  Changed paths:
    M llvm/test/tools/llvm-profgen/inline-noprobe2.test
    M llvm/tools/llvm-profgen/ProfileGenerator.cpp
    M llvm/tools/llvm-profgen/ProfileGenerator.h
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp

  Log Message:
  -----------
  [llvm-profgen] Add duplication factor for line-number based profile

This change adds duplication factor multiplier while accumulating body samples for line-number based profile. The body sample count will be `duplication-factor * count`. Base discriminator and duplication factor is decoded from the raw discriminator, this requires some refactor works.

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


  Commit: 31a5cb3292e1167ed9f285a1a29463f2c5fe6bbf
      https://github.com/llvm/llvm-project/commit/31a5cb3292e1167ed9f285a1a29463f2c5fe6bbf
  Author: wlei <wlei at fb.com>
  Date:   2021-10-04 (Mon, 04 Oct 2021)

  Changed paths:
    M llvm/test/tools/llvm-profgen/cs-preinline.test
    M llvm/test/tools/llvm-profgen/fname-canonicalization.test
    M llvm/test/tools/llvm-profgen/inline-cs-noprobe.test
    M llvm/test/tools/llvm-profgen/inline-noprobe.test
    M llvm/test/tools/llvm-profgen/inline-noprobe2.test
    M llvm/test/tools/llvm-profgen/multi-load-segs.test
    M llvm/test/tools/llvm-profgen/recursion-compression-noprobe.test
    M llvm/tools/llvm-profgen/ProfileGenerator.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp

  Log Message:
  -----------
  [llvm-profgen] Filter out invalid debug line

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


Compare: https://github.com/llvm/llvm-project/compare/18e63289358f...31a5cb3292e1


More information about the All-commits mailing list