[all-commits] [llvm/llvm-project] e99b5a: [memprof] Add scripts to automate testdata regener...

Snehasish Kumar via All-commits all-commits at lists.llvm.org
Thu Mar 9 11:54:37 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e99b5ad38381ab263820b23a184d217a4112519c
      https://github.com/llvm/llvm-project/commit/e99b5ad38381ab263820b23a184d217a4112519c
  Author: Snehasish Kumar <snehasishk at google.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M clang/test/CodeGen/Inputs/memprof.exe
    M clang/test/CodeGen/Inputs/memprof.memprofraw
    A clang/test/CodeGen/Inputs/update_memprof_inputs.sh
    M clang/test/CodeGen/memprof.cpp
    M llvm/test/Transforms/PGOProfile/Inputs/memprof.exe
    M llvm/test/Transforms/PGOProfile/Inputs/memprof.memprofraw
    M llvm/test/Transforms/PGOProfile/Inputs/memprof_pgo.profraw
    A llvm/test/Transforms/PGOProfile/Inputs/update_memprof_inputs.sh
    M llvm/test/Transforms/PGOProfile/memprof.ll
    M llvm/test/tools/llvm-profdata/Inputs/basic.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/basic.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/inline.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/inline.memprofraw
    R llvm/test/tools/llvm-profdata/Inputs/memprof-inline.exe
    M llvm/test/tools/llvm-profdata/Inputs/multi.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/multi.memprofraw
    M llvm/test/tools/llvm-profdata/Inputs/pic.memprofexe
    M llvm/test/tools/llvm-profdata/Inputs/pic.memprofraw
    A llvm/test/tools/llvm-profdata/Inputs/update_memprof_inputs.sh
    M llvm/test/tools/llvm-profdata/memprof-basic.test
    M llvm/test/tools/llvm-profdata/memprof-inline.test
    M llvm/test/tools/llvm-profdata/memprof-merge.test
    M llvm/test/tools/llvm-profdata/memprof-multi.test
    M llvm/test/tools/llvm-profdata/memprof-pic.test

  Log Message:
  -----------
  [memprof] Add scripts to automate testdata regeneration.

The memprof profiles and binaries need to be updated in case of version
updates. This change adds three scripts for llvm-profdata, clang and
llvm tests where memprof profiles are used as inputs. Also update the
tests, profiles and binaries in this change. Change based on the review
suggestions in D145023.

Reviewed By: tejohnson

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




More information about the All-commits mailing list