Skip to content

Commit

Permalink
[flang][OpenMP] Remove OmpEndLoopDirective handles from code.
Browse files Browse the repository at this point in the history
This directive is currently lowered as NOP.

Patch is an attempt upstream code from:
PR: flang-compiler#573

Reviewed By: kiranchandramohan, schweitz, clementval

Differential Revision: https://reviews.llvm.org/D100576
  • Loading branch information
SouraVX committed Apr 15, 2021
1 parent 1656df1 commit 5064a34
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions flang/include/flang/Lower/OpenMP.h
Expand Up @@ -16,7 +16,6 @@
namespace Fortran {
namespace parser {
struct OpenMPConstruct;
struct OmpEndLoopDirective;
} // namespace parser

namespace lower {
Expand All @@ -30,9 +29,6 @@ struct Evaluation;
void genOpenMPConstruct(AbstractConverter &, pft::Evaluation &,
const parser::OpenMPConstruct &);

void genOpenMPEndLoop(AbstractConverter &, pft::Evaluation &,
const parser::OmpEndLoopDirective &);

} // namespace lower
} // namespace Fortran

Expand Down
7 changes: 0 additions & 7 deletions flang/lib/Lower/OpenMP.cpp
Expand Up @@ -286,10 +286,3 @@ void Fortran::lower::genOpenMPConstruct(
},
ompConstruct.u);
}

void Fortran::lower::genOpenMPEndLoop(
Fortran::lower::AbstractConverter &converter,
Fortran::lower::pft::Evaluation &,
const Fortran::parser::OmpEndLoopDirective &) {
TODO(converter.getCurrentLocation(), "OmpEndLoopDirective");
}

0 comments on commit 5064a34

Please sign in to comment.