[PATCH] D64029: [PGO] Add PGO support at -O0 in the experimental new pass manager
Rong Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 1 12:23:59 PDT 2019
xur created this revision.
xur added a reviewer: chandlerc.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.
Add PGO support at -O0 in the experimental new pass manager to sync the behavior with the legacy pass manager.
Also change the test of gcc-flag-compatibility.c for more complete test:
(1) change the match string to "profc" and "profd" to ensure the instrumentation is happening.
(2) add IR format proftext so that PGO use is tested.
https://reviews.llvm.org/D64029
Files:
clang/lib/CodeGen/BackendUtil.cpp
clang/test/Profile/Inputs/gcc-flag-compatibility_IR.proftext
clang/test/Profile/gcc-flag-compatibility.c
llvm/include/llvm/Passes/PassBuilder.h
llvm/lib/Passes/PassBuilder.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64029.207389.patch
Type: text/x-patch
Size: 9265 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190701/c790163e/attachment-0001.bin>
More information about the cfe-commits
mailing list