[all-commits] [llvm/llvm-project] b1926f: Restore "[MemProf] Memprof profile matching and an...
Teresa Johnson via All-commits
all-commits at lists.llvm.org
Fri Sep 23 11:39:12 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b1926f308f0939b365ee4940c7b1bd984b45e71a
https://github.com/llvm/llvm-project/commit/b1926f308f0939b365ee4940c7b1bd984b45e71a
Author: Teresa Johnson <tejohnson at google.com>
Date: 2022-09-23 (Fri, 23 Sep 2022)
Changed paths:
M clang/lib/Frontend/CompilerInvocation.cpp
A clang/test/CodeGen/Inputs/memprof.exe
A clang/test/CodeGen/Inputs/memprof.memprofraw
A clang/test/CodeGen/memprof.cpp
M llvm/include/llvm/Analysis/MemoryBuiltins.h
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/lib/Analysis/MemoryBuiltins.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
A llvm/test/Transforms/PGOProfile/Inputs/memprof.exe
A llvm/test/Transforms/PGOProfile/Inputs/memprof.memprofraw
A llvm/test/Transforms/PGOProfile/Inputs/memprof_pgo.profraw
A llvm/test/Transforms/PGOProfile/memprof.ll
A llvm/test/Transforms/PGOProfile/memprofmissingfunc.ll
Log Message:
-----------
Restore "[MemProf] Memprof profile matching and annotation"
This reverts commit 794b7ea960ccc3222f2af582efadbc5e5c464292, and
thus restores commit a212d8da94d08e229aa8d65283e4b116310bba10, and
follow on fixes 0cd6763fa93159b84d70a5bb602c24996acaafaa,
e9ff53d42feac7fc157718523275619a8106f2f3, and
37c6a25e9ab230e5e21fa34e246d9fec55275df0.
Use a hash function (BLAKE3) instead of hash_combine/hash_code which are
not guaranteed to be stable across executions.
Additionally, it adds a "REQUIRES: x86_64-linux" to the tests that have
raw profile inputs to avoid failures on big endian bots.
Reviewers: snehasish, davidxl
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D128142
More information about the All-commits
mailing list