[PATCH] D48808: [CodeGen] Emit parallel_loop_access for each loop in the loop stack.

Michael Kruse via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 2 11:10:28 PDT 2018


Meinersbur added a comment.

In https://reviews.llvm.org/D48808#1149845, @hfinkel wrote:

> We specifically defined the metadata to support nested loops. The LangRef says, "The llvm.mem.parallel_loop_access metadata refers to a loop identifier, or metadata containing a list of loop identifiers for nested loops." To handle nested loops, we need to make the instruction metadata point to a list of loop IDs.


Thanks for pointing me to it. I've not seen parallel_loop_access pointing to a list, so I didn't know it was possible.


Repository:
  rC Clang

https://reviews.llvm.org/D48808





More information about the cfe-commits mailing list