Fix for the case when there are no instructions in the entry basic block before the call
to createSections
Details
Details
Diff Detail
Diff Detail
- Repository
 - rG LLVM Github Monorepo
 
Paths 
  |  Differential  D114143  
[OpenMP][IRBuilder] Fix createSections ClosedPublic Authored by shraiysh on Nov 18 2021, 12:19 AM. 
Details Summary Fix for the case when there are no instructions in the entry basic block before the call 
Diff Detail 
 Event TimelineHerald added subscribers: rogfer01, guansong, hiraditya, yaxunl.  ·  View Herald TranscriptNov 18 2021, 12:19 AM shraiysh added reviewers: kiranktp, kiranchandramohan, AMDChirag, NimishMishra, clementval, peixin, MatsPetersson, jeanPerier.Nov 18 2021, 12:21 AM This revision is now accepted and ready to land.Nov 29 2021, 10:42 AM Closed by commit rGec97e1206abd: [OpenMP][IRBuilder] Fix createSections (authored by shraiysh).  ·  Explain WhyDec 1 2021, 1:42 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
 
Diff 388119 clang/test/OpenMP/cancel_codegen.cpp
 
 llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
 llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||