[OpenMP][Docs] Make copy pasting remarks easier

This commit is contained in:
Joseph Huber 2022-03-08 16:53:50 -05:00
parent dec9be85cc
commit eae306f52c

View file

@ -3,9 +3,9 @@ OpenMP Optimization Remarks
The :doc:`OpenMP-Aware optimization pass </optimizations/OpenMPOpt>` is able to
generate compiler remarks for performed and missed optimisations. To emit them,
pass ``-Rpass=openmp-opt``, ``-Rpass-analysis=openmp-opt``, and
``-Rpass-missed=openmp-opt`` to the Clang invocation. For more information and
features of the remark system the clang documentation should be consulted:
pass these options to the Clang invocation: ``-Rpass=openmp-opt
-Rpass-analysis=openmp-opt -Rpass-missed=openmp-opt``. For more information and
features of the remark system, consult the clang documentation:
+ `Clang options to emit optimization reports <https://clang.llvm.org/docs/UsersManual.html#options-to-emit-optimization-reports>`_
+ `Clang diagnostic and remark flags <https://clang.llvm.org/docs/ClangCommandLineReference.html#diagnostic-flags>`_