From 86500b3f1c9ba124105a59a9d63fd6adea964c5d Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Mon, 10 Feb 2020 20:11:51 -0600 Subject: [PATCH] [Polly][Docs] Fix wrong claim about optimization levels. Thanks Justin Paston-Cooper for the report. --- polly/docs/UsingPollyWithClang.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/polly/docs/UsingPollyWithClang.rst b/polly/docs/UsingPollyWithClang.rst index b6f3705..d203324 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 -- 2.7.4