[llvm] 137dfd6 - [LangRef] Fix condition for when a loop is considered parallel.
    Michael Kruse via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Sep  1 13:42:08 PDT 2020
    
    
  
Author: Michael Kruse
Date: 2020-09-01T15:41:59-05:00
New Revision: 137dfd616aaf8854e97326e1597847f4ff23208e
URL: https://github.com/llvm/llvm-project/commit/137dfd616aaf8854e97326e1597847f4ff23208e
DIFF: https://github.com/llvm/llvm-project/commit/137dfd616aaf8854e97326e1597847f4ff23208e.diff
LOG: [LangRef] Fix condition for when a loop is considered parallel.
The wording before this patch applies to llvm.mem.parallel_loop_access, not access groups.
Reviewed By: mppf, hfinkel
Differential Revision: https://reviews.llvm.org/D83781
Added: 
    
Modified: 
    llvm/docs/LangRef.rst
Removed: 
    
################################################################################
diff  --git a/llvm/docs/LangRef.rst b/llvm/docs/LangRef.rst
index 221c3d294fee..ce791b3aa9d4 100644
--- a/llvm/docs/LangRef.rst
+++ b/llvm/docs/LangRef.rst
@@ -6194,7 +6194,8 @@ considered having this property if at least one of the access groups
 matches the ``llvm.loop.parallel_accesses`` list.
 
 If all memory-accessing instructions in a loop have
-``llvm.loop.parallel_accesses`` metadata that refers to that loop, then the
+``llvm.access.group`` metadata that each refer to one of the access
+groups of a loop's ``llvm.loop.parallel_accesses`` metadata, then the
 loop has no loop carried memory dependences and is considered to be a
 parallel loop.
 
        
    
    
More information about the llvm-commits
mailing list