[PATCH] D100576: [flang][OpenMP] Remove `OmpEndLoopDirective` handles from code.
Sourabh Singh Tomar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 15 09:23:48 PDT 2021
SouraVX created this revision.
SouraVX added projects: Flang, OpenMP.
Herald added subscribers: mehdi_amini, jdoerfert, guansong, yaxunl.
SouraVX requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: llvm-commits, sstefan1.
Herald added a project: LLVM.
This directive is currently lowered as NOP.
Patch is an attempt upstream code from:
PR: https://github.com/flang-compiler/f18-llvm-project/pull/573
Reviwers: kiranchandramohan, schweitz, clementval, kiranktp
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D100576
Files:
flang/include/flang/Lower/OpenMP.h
flang/lib/Lower/OpenMP.cpp
Index: flang/lib/Lower/OpenMP.cpp
===================================================================
--- flang/lib/Lower/OpenMP.cpp
+++ flang/lib/Lower/OpenMP.cpp
@@ -286,10 +286,3 @@
},
ompConstruct.u);
}
-
-void Fortran::lower::genOpenMPEndLoop(
- Fortran::lower::AbstractConverter &converter,
- Fortran::lower::pft::Evaluation &,
- const Fortran::parser::OmpEndLoopDirective &) {
- TODO(converter.getCurrentLocation(), "OmpEndLoopDirective");
-}
Index: flang/include/flang/Lower/OpenMP.h
===================================================================
--- flang/include/flang/Lower/OpenMP.h
+++ flang/include/flang/Lower/OpenMP.h
@@ -16,7 +16,6 @@
namespace Fortran {
namespace parser {
struct OpenMPConstruct;
-struct OmpEndLoopDirective;
} // namespace parser
namespace lower {
@@ -30,9 +29,6 @@
void genOpenMPConstruct(AbstractConverter &, pft::Evaluation &,
const parser::OpenMPConstruct &);
-void genOpenMPEndLoop(AbstractConverter &, pft::Evaluation &,
- const parser::OmpEndLoopDirective &);
-
} // namespace lower
} // namespace Fortran
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100576.337790.patch
Type: text/x-patch
Size: 1138 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210415/e08c33a3/attachment-0001.bin>
More information about the llvm-commits
mailing list