[PATCH] D114379: [OMPIRBuilder] Add support for simd (loop) directive.

Arnamoy B via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 6 14:38:41 PST 2021


arnamoy10 updated this revision to Diff 392189.
arnamoy10 added a comment.

Addressing reviewers comments  Major changes are as follows:

1. Skipping unsupported clauses and skip the case when there is an ordered directive inside the simd construct
2. Traversing all the blocks in the Canonical loop body (not only the first block of the loop body) to look for locations to insert metadata
3. Making metadata unique for each Canonical loop
4. Update test case to reflect changes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114379/new/

https://reviews.llvm.org/D114379

Files:
  clang/lib/CodeGen/CGStmtOpenMP.cpp
  clang/test/OpenMP/irbuilder_simd.cpp
  llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
  llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114379.392189.patch
Type: text/x-patch
Size: 11753 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211206/7cbc2c5c/attachment.bin>


More information about the cfe-commits mailing list