hoy created this revision. Herald added subscribers: modimo, wenlei. Herald added a project: All. hoy requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
Test Plan: Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D142994 Files: clang/docs/UsersManual.rst Index: clang/docs/UsersManual.rst =================================================================== --- clang/docs/UsersManual.rst +++ clang/docs/UsersManual.rst @@ -2294,6 +2294,14 @@ without the ``-b`` flag, you need to use ``--use_lbr=false`` when calling ``create_llvm_prof``. + Alternatively, the LLVM tool ``llvm-profgen`` can also be used to generate + the LLVM sample profile: + + .. code-block:: console + + $ llvm-profgen --binary=./code --output=code.prof--perfdata=perf.data + + 4. Build the code again using the collected profile. This step feeds the profile back to the optimizers. This should result in a binary that executes faster than the original one. Note that you are not
Index: clang/docs/UsersManual.rst =================================================================== --- clang/docs/UsersManual.rst +++ clang/docs/UsersManual.rst @@ -2294,6 +2294,14 @@ without the ``-b`` flag, you need to use ``--use_lbr=false`` when calling ``create_llvm_prof``. + Alternatively, the LLVM tool ``llvm-profgen`` can also be used to generate + the LLVM sample profile: + + .. code-block:: console + + $ llvm-profgen --binary=./code --output=code.prof--perfdata=perf.data + + 4. Build the code again using the collected profile. This step feeds the profile back to the optimizers. This should result in a binary that executes faster than the original one. Note that you are not
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits