[all-commits] [llvm/llvm-project] d434e4: [llvm][NFC] Refactor code to use ProfDataUtils
Paul Kirth via All-commits
all-commits at lists.llvm.org
Tue Aug 2 17:10:01 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d434e40f398e3144c69d57d2a142d35e2f760a8e
https://github.com/llvm/llvm-project/commit/d434e40f398e3144c69d57d2a142d35e2f760a8e
Author: Paul Kirth <paulkirth at google.com>
Date: 2022-08-03 (Wed, 03 Aug 2022)
Changed paths:
M llvm/include/llvm/IR/Instruction.h
M llvm/include/llvm/IR/ProfDataUtils.h
M llvm/lib/Analysis/BranchProbabilityInfo.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/CodeGen/SelectOptimize.cpp
M llvm/lib/IR/Metadata.cpp
M llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
M llvm/lib/Transforms/IPO/PartialInlining.cpp
M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
M llvm/lib/Transforms/Scalar/JumpThreading.cpp
M llvm/lib/Transforms/Utils/LoopPeel.cpp
M llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp
M llvm/lib/Transforms/Utils/LoopUtils.cpp
M llvm/lib/Transforms/Utils/MisExpect.cpp
M llvm/lib/Transforms/Utils/SimplifyCFG.cpp
Log Message:
-----------
[llvm][NFC] Refactor code to use ProfDataUtils
In this patch we replace common code patterns with the use of utility
functions for dealing with profiling metadata. There should be no change
in functionality, as the existing checks should be preserved in all
cases.
Reviewed By: bogner, davidxl
Differential Revision: https://reviews.llvm.org/D128860
More information about the All-commits
mailing list