[all-commits] [llvm/llvm-project] ff281f: [PGO] Add option to always instrumenting loop entr...
ronryvchin via All-commits
all-commits at lists.llvm.org
Tue Dec 3 22:57:08 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ff281f7d37ead15bdbdbfccb4b82ea93013b1a00
https://github.com/llvm/llvm-project/commit/ff281f7d37ead15bdbdbfccb4b82ea93013b1a00
Author: ronryvchin <94285266+ronryvchin at users.noreply.github.com>
Date: 2024-12-04 (Wed, 04 Dec 2024)
Changed paths:
M compiler-rt/include/profile/InstrProfData.inc
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/include/llvm/ProfileData/InstrProfData.inc
M llvm/include/llvm/ProfileData/InstrProfReader.h
M llvm/include/llvm/ProfileData/InstrProfWriter.h
M llvm/include/llvm/Transforms/Instrumentation/CFGMST.h
M llvm/lib/ProfileData/InstrProfReader.cpp
M llvm/lib/ProfileData/InstrProfWriter.cpp
M llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
A llvm/test/Transforms/PGOProfile/loop_entries_gen.ll
A llvm/test/Transforms/PGOProfile/loop_entries_use.ll
M llvm/tools/llvm-profdata/llvm-profdata.cpp
Log Message:
-----------
[PGO] Add option to always instrumenting loop entries (#116789)
This patch extends the PGO infrastructure with an option to prefer the
instrumentation of loop entry blocks.
This option is a generalization of
https://github.com/llvm/llvm-project/commit/19fb5b467bb97f95eace1f3637d2d1041cebd3ce,
and helps to cover cases where the loop exit is never executed.
An example where this can occur are event handling loops.
Note that change does NOT change the default behavior.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list