[PATCH] D84347: [MLIR,OpenMP] Lowering of parallel operation: proc_bind clause 2/n
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 12 09:01:00 PDT 2020
mehdi_amini added inline comments.
================
Comment at: mlir/tools/mlir-tblgen/OpenMPCommonGen.cpp:27
+
+static bool emitDecls(const RecordKeeper &recordKeeper, raw_ostream &os) {
+ const auto &clauses = recordKeeper.getAllDerivedDefinitions("Clause");
----------------
kiranchandramohan wrote:
> mehdi_amini wrote:
> > Can you document this?
> > I rather not reverse engineer the code to understand the contract on the input and the generated code.
> >
> >
> Sure. I will document this in a patch later today.
> Assuming some comments here is what is expected. Or should it be as part of the Operation or Dialect definition?
>
> Thanks for fixing the documentation dependency issue.
Yes just commenting here what is this TableGen backend about for future readers.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84347/new/
https://reviews.llvm.org/D84347
More information about the llvm-commits
mailing list