This patch adds the nowait parameter to createSingle in
OpenMPIRBuilder and handling for IR generation from OpenMP Dialect.
Also added tests for the same.
Paths
| Differential D122371
[mlir][OpenMP][IRBuilder] Add support for nowait on single construct ClosedPublic Authored by shraiysh on Mar 23 2022, 11:15 PM.
Details Summary This patch adds the nowait parameter to createSingle in Also added tests for the same.
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: llvm-commits, sstefan1, stephenneuendorffer, nicolasvasilache. · View Herald Transcript shraiysh added reviewers: kiranktp, kiranchandramohan, clementval, NimishMishra, AMDChirag, peixin, MatsPetersson, arnamoy10, do.Mar 23 2022, 11:18 PM This revision is now accepted and ready to land.Mar 24 2022, 3:00 AM This revision was landed with ongoing or failed builds.Mar 24 2022, 10:22 AM Closed by commit rG8722c12c1261: [mlir][OpenMP][IRBuilder] Add support for nowait on single construct (authored by shraiysh). · Explain Why This revision was automatically updated to reflect the committed changes. probinson added inline comments.
Revision Contents
Diff 417834 llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
mlir/test/Target/LLVMIR/openmp-llvm.mlir
|
It seems this EXPECT_FALSE is never executed, causing it to be flagged in my "Rotten Green Tests" work. Perhaps the loop could be rewritten to be more similar to the ThenBB check?