[OMPIRBuilder] Add the support for compare capture
authorShilei Tian <i@tianshilei.me>
Wed, 1 Jun 2022 23:53:36 +0000 (19:53 -0400)
committerShilei Tian <i@tianshilei.me>
Wed, 1 Jun 2022 23:53:43 +0000 (19:53 -0400)
commiteb673be5ac8510646692f82a606a1f2c10f24828
tree2916d609953ab6fb0d0542c52ed5849946815d96
parentf15add7d93aeabbfa381499a04eae769cc1cf4f0
[OMPIRBuilder] Add the support for compare capture

This patch adds the support for `compare capture` in `OMPIRBuilder`.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D120007
clang/lib/CodeGen/CGStmtOpenMP.cpp
llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp