[PATCH] D83024: [PGO] Instrument function entry BB by default in IR PGO

Rong Xu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 27 11:16:23 PDT 2020


xur updated this revision to Diff 280984.
xur added a comment.

Update the patch after committing the support in a separated patch:
commit 50da55a58534e9207d8d5e31c8b4b5cf0c624175 <https://reviews.llvm.org/rG50da55a58534e9207d8d5e31c8b4b5cf0c624175>

This patch will turn -pgo-instrument-entry to true by default.

Many tests are already submitted with the supporting patch.
This patch will update the rest of tests.

I'm not confident that the test changes are complete as I only tested X86 Linux platforms.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83024/new/

https://reviews.llvm.org/D83024

Files:
  clang/test/CodeGenCXX/Inputs/profile-remap.proftext
  clang/test/Profile/Inputs/gcc-flag-compatibility_IR.proftext
  compiler-rt/test/profile/Linux/counter_promo_for.c
  compiler-rt/test/profile/Linux/counter_promo_while.c
  compiler-rt/test/profile/Linux/instrprof-value-merge.c
  compiler-rt/test/profile/infinite_loop.c
  compiler-rt/test/profile/runtime_infinite.c
  llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
  llvm/test/Transforms/PGOProfile/Inputs/PR41279.proftext
  llvm/test/Transforms/PGOProfile/Inputs/PR41279_2.proftext
  llvm/test/Transforms/PGOProfile/PR41279.ll
  llvm/test/Transforms/PGOProfile/PR41279_2.ll
  llvm/test/Transforms/PGOProfile/counter_promo.ll
  llvm/test/Transforms/PGOProfile/counter_promo_mexits.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83024.280984.patch
Type: text/x-patch
Size: 15730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200727/7f6254d1/attachment.bin>


More information about the llvm-commits mailing list