diff --git a/openmp/docs/remarks/OptimizationRemarks.rst b/openmp/docs/remarks/OptimizationRemarks.rst index e9bc9cf8bb401..a29dce60e073c 100644 --- a/openmp/docs/remarks/OptimizationRemarks.rst +++ b/openmp/docs/remarks/OptimizationRemarks.rst @@ -3,9 +3,9 @@ OpenMP Optimization Remarks The :doc:`OpenMP-Aware optimization pass ` 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 `_ + `Clang diagnostic and remark flags `_