This adds support for memcmp/bcmp to the existing memcpy/memset value profiling.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D79751
[PGO] Add memcmp/bcmp size value profiling. ClosedPublic Authored by hjyamauchi on May 11 2020, 3:55 PM.
Details
Summary This adds support for memcmp/bcmp to the existing memcpy/memset value profiling.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 26 2020, 8:37 AM Closed by commit rG106ec64fbc7f: [PGO] Add memcmp/bcmp size value profiling. (authored by hjyamauchi). · Explain WhyMay 26 2020, 10:50 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 266273 llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp
llvm/lib/Transforms/Instrumentation/ValueProfileCollector.h
llvm/lib/Transforms/Instrumentation/ValueProfileCollector.cpp
llvm/lib/Transforms/Instrumentation/ValueProfilePlugins.inc
llvm/test/Transforms/PGOProfile/Inputs/memop_size_annotation.proftext
llvm/test/Transforms/PGOProfile/memop_size_annotation.ll
llvm/test/Transforms/PGOProfile/memop_size_opt.ll
|
make it default to false for the first patch?