[polly] 0c849ad - [Polly][docs] Avoid use of code-block:: guess.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 17:55:05 PDT 2022


Author: Michael Kruse
Date: 2022-10-24T19:54:22-05:00
New Revision: 0c849adf4f979ace89ffc644c2281573a2c4fbfb

URL: https://github.com/llvm/llvm-project/commit/0c849adf4f979ace89ffc644c2281573a2c4fbfb
DIFF: https://github.com/llvm/llvm-project/commit/0c849adf4f979ace89ffc644c2281573a2c4fbfb.diff

LOG: [Polly][docs] Avoid use of code-block:: guess.

The 'guess' language triggers a warning in the polly-sphinx-docs:
https://lab.llvm.org/staging/#/builders/199/builds/209
which is treated as an error by default.

This might be related to the Sphinx bug
https://github.com/sphinx-doc/sphinx/issues/7139

Added: 
    

Modified: 
    polly/docs/HowToManuallyUseTheIndividualPiecesOfPolly.rst

Removed: 
    


################################################################################
diff  --git a/polly/docs/HowToManuallyUseTheIndividualPiecesOfPolly.rst b/polly/docs/HowToManuallyUseTheIndividualPiecesOfPolly.rst
index 0d231b91d71c0..d8f80b833df02 100644
--- a/polly/docs/HowToManuallyUseTheIndividualPiecesOfPolly.rst
+++ b/polly/docs/HowToManuallyUseTheIndividualPiecesOfPolly.rst
@@ -47,7 +47,7 @@ performance improvement can be expected by an optimal automatic optimizer.
 
                 $ opt -basic-aa -polly-ast -analyze matmul.preopt.ll -polly-process-unprofitable -polly-use-llvm-names
 
-        .. code-block:: guess
+        .. code-block:: text
 
                 :: isl ast :: init_array :: %for.cond1.preheader---%for.end19
 
@@ -106,7 +106,7 @@ performance improvement can be expected by an optimal automatic optimizer.
 
                 $ opt -polly-use-llvm-names -basic-aa -polly-scops -analyze matmul.preopt.ll -polly-process-unprofitable
 
-        .. code-block:: guess
+        .. code-block:: text
 
                 [...]Printing analysis 'Polly - Create polyhedral description of Scops' for region: 'for.cond1.preheader => for.end19' in function 'init_array':
                     Function: init_array
@@ -196,7 +196,7 @@ performance improvement can be expected by an optimal automatic optimizer.
 
 	        $ opt -basic-aa -polly-use-llvm-names -polly-dependences -analyze matmul.preopt.ll -polly-process-unprofitable
 
-        .. code-block:: guess
+        .. code-block:: text
 
         	[...]Printing analysis 'Polly - Calculate dependences' for region: 'for.cond1.preheader => for.end19' in function 'init_array':
         		RAW dependences:
@@ -228,7 +228,7 @@ performance improvement can be expected by an optimal automatic optimizer.
 
         	$ opt -basic-aa -polly-use-llvm-names -polly-export-jscop matmul.preopt.ll -polly-process-unprofitable
 
-        .. code-block:: guess
+        .. code-block:: text
 
 	        [...]Writing JScop '%for.cond1.preheader---%for.end19' in function 'init_array' to './init_array___%for.cond1.preheader---%for.end19.jscop'.
 
@@ -389,7 +389,7 @@ performance improvement can be expected by an optimal automatic optimizer.
 
 		$ opt -S matmul.preopt.ll -basic-aa -polly-use-llvm-names -polly-import-jscop -polly-import-jscop-postfix=interchanged -polly-codegen -polly-process-unprofitable | opt -S -O3 -o matmul.polly.interchanged.ll
 
-	.. code-block:: guess
+	.. code-block:: text
 
 		Reading JScop '%for.cond1.preheader---%for.end19' in function 'init_array' from './init_array___%for.cond1.preheader---%for.end19.jscop.interchanged'.
 		File could not be read: No such file or directory
@@ -399,7 +399,7 @@ performance improvement can be expected by an optimal automatic optimizer.
 
 		$ opt -S matmul.preopt.ll -basic-aa -polly-use-llvm-names -polly-import-jscop -polly-import-jscop-postfix=interchanged+tiled -polly-codegen -polly-process-unprofitable | opt -S -O3 -o matmul.polly.interchanged+tiled.ll
 		
-	.. code-block:: guess
+	.. code-block:: text
 
 		Reading JScop '%for.cond1.preheader---%for.end19' in function 'init_array' from './init_array___%for.cond1.preheader---%for.end19.jscop.interchanged+tiled'.
 		File could not be read: No such file or directory
@@ -409,7 +409,7 @@ performance improvement can be expected by an optimal automatic optimizer.
 
 		$ opt -S matmul.preopt.ll -basic-aa -polly-use-llvm-names -polly-import-jscop -polly-import-jscop-postfix=interchanged+tiled+vector -polly-codegen -polly-vectorizer=polly -polly-process-unprofitable | opt -S -O3 -o matmul.polly.interchanged+tiled+vector.ll
 
-	.. code-block:: guess
+	.. code-block:: text
 
 		Reading JScop '%for.cond1.preheader---%for.end19' in function 'init_array' from './init_array___%for.cond1.preheader---%for.end19.jscop.interchanged+tiled+vector'.
 		File could not be read: No such file or directory
@@ -419,7 +419,7 @@ performance improvement can be expected by an optimal automatic optimizer.
 
 		$ opt -S matmul.preopt.ll -basic-aa -polly-use-llvm-names -polly-import-jscop -polly-import-jscop-postfix=interchanged+tiled+vector -polly-codegen -polly-vectorizer=polly -polly-parallel -polly-process-unprofitable | opt -S -O3 -o matmul.polly.interchanged+tiled+openmp.ll
 
-	.. code-block:: guess
+	.. code-block:: text
 
 		Reading JScop '%for.cond1.preheader---%for.end19' in function 'init_array' from './init_array___%for.cond1.preheader---%for.end19.jscop.interchanged+tiled+vector'.
 		File could not be read: No such file or directory


        


More information about the llvm-commits mailing list