[PATCH] D135695: [OMPIRBuilder] Support depend clause for task construct

Prabhdeep Soni via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 15:29:20 PDT 2022


psoni2628 updated this revision to Diff 467942.
psoni2628 added a comment.

- Remove unnecessary `llvm::` from `OMPIRBuilder.cpp`
- Change the insertion point for `DepArray` alloca to be before the `Then` basic block for the `if` clause
- Use only one enum `RTLDependenceKindInfoTy` to encode the kind of dependency; use this enum in Clang


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

https://reviews.llvm.org/D135695

Files:
  clang/lib/CodeGen/CGOpenMPRuntime.cpp
  llvm/include/llvm/Frontend/OpenMP/OMPConstants.h
  llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
  llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
  llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
  llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135695.467942.patch
Type: text/x-patch
Size: 15010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221014/08b2eb76/attachment.bin>


More information about the llvm-commits mailing list