[OpenMPIRBuilder] Detect and fix ambiguous InsertPoints for createSections.
authorMichael Kruse <llvm-project@meinersbur.de>
Tue, 5 Apr 2022 01:13:02 +0000 (20:13 -0500)
committerMichael Kruse <llvm-project@meinersbur.de>
Tue, 5 Apr 2022 17:36:29 +0000 (12:36 -0500)
commitc082ca16f123144072afffaa21742238021eae9c
tree732d1f00219ef06e5c061f555b9237c481a2b3d5
parentbb3980ae9fa7e19540080285f2bf2d960ea802fc
[OpenMPIRBuilder] Detect and fix ambiguous InsertPoints for createSections.

Follow-up on D117226 for createSections.

Reviewed By: shraiysh

Differential Revision: https://reviews.llvm.org/D117835
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