This patch lower the parallel loop combined construct to MLIR ops.
This code was part of the PR #558 on fir-dev
https://github.com/flang-compiler/f18-llvm-project/pull/558
Differential D92065
[flang][openacc] Lower parallel loop combined construct clementval on Nov 24 2020, 4:31 PM. Authored by
Details This patch lower the parallel loop combined construct to MLIR ops. This code was part of the PR #558 on fir-dev
Diff Detail
Event TimelineComment Actions LGTM.
Comment Actions Yeah I don't mind waiting for the fir-dev RFC to go through and adding test for that. |
When we get the green-light to upstream, you may want to consider using fir::emitFatalError() here, as it will take mlir::Location information and produce a bit nicer output.
(On the other hand, the error seems like a general "this can never happen", but this was a chance to add a gratuitous plug.)