[all-commits] [llvm/llvm-project] eea002: [InstrProf][NFC] Move function out of InstrProf.h
Ellis Hoag via All-commits
all-commits at lists.llvm.org
Fri Jan 28 09:24:39 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: eea002a9c4712217a0cd0df4529abaaaad6644e2
https://github.com/llvm/llvm-project/commit/eea002a9c4712217a0cd0df4529abaaaad6644e2
Author: Ellis Hoag <ellis.sparky.hoag at gmail.com>
Date: 2022-01-28 (Fri, 28 Jan 2022)
Changed paths:
M llvm/include/llvm/ProfileData/InstrProf.h
M llvm/lib/ProfileData/InstrProf.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
Log Message:
-----------
[InstrProf][NFC] Move function out of InstrProf.h
`createIRLevelProfileFlagVar()` seems to be only used in
`PGOInstrumentation.cpp` so we move it to that file. Then it can also
take advantage of directly using options rather than passing them as
arguments.
Reviewed By: kyulee, phosek
Differential Revision: https://reviews.llvm.org/D118097
More information about the All-commits
mailing list