[polly] 86500b3 - [Polly][Docs] Fix wrong claim about optimization levels.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 10 18:15:24 PST 2020
Author: Michael Kruse
Date: 2020-02-10T20:14:40-06:00
New Revision: 86500b3f1c9ba124105a59a9d63fd6adea964c5d
URL: https://github.com/llvm/llvm-project/commit/86500b3f1c9ba124105a59a9d63fd6adea964c5d
DIFF: https://github.com/llvm/llvm-project/commit/86500b3f1c9ba124105a59a9d63fd6adea964c5d.diff
LOG: [Polly][Docs] Fix wrong claim about optimization levels.
Thanks Justin Paston-Cooper for the report.
Added:
Modified:
polly/docs/UsingPollyWithClang.rst
Removed:
################################################################################
diff --git a/polly/docs/UsingPollyWithClang.rst b/polly/docs/UsingPollyWithClang.rst
index b6f370502f67..d2033241730e 100644
--- a/polly/docs/UsingPollyWithClang.rst
+++ b/polly/docs/UsingPollyWithClang.rst
@@ -21,7 +21,8 @@ Optimizing with Polly
=====================
Optimizing with Polly is as easy as adding -O3 -mllvm -polly to your compiler
-flags (Polly is only available at -O3).
+flags (Polly is not available unless optimizations are enabled, such as
+-O1,-O2,-O3; Optimizing for size with -Os or -Oz is not recommended).
.. code-block:: console
More information about the llvm-commits
mailing list