1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

[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
This commit is contained in:
Michael Kruse 2020-09-01 15:40:27 -05:00
parent deb09864b8
commit 292847821f

View File

@ -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.