[PATCH] D114143: [OpenMP][IRBuilder] Fix createSections

Shraiysh via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 18 00:19:09 PST 2021


shraiysh created this revision.
Herald added subscribers: rogfer01, guansong, hiraditya, yaxunl.
shraiysh requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, cfe-commits, sstefan1.
Herald added projects: clang, LLVM.

Fix for the case when there are no instructions in the entry basic block before the call
to `createSections`


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114143

Files:
  clang/test/OpenMP/cancel_codegen.cpp
  llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
  llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114143.388119.patch
Type: text/x-patch
Size: 11146 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211118/6711f420/attachment-0001.bin>


More information about the cfe-commits mailing list