[llvm-branch-commits] [mlir] [MLIR][OpenMP] Support clause-based representation of operations (PR #92519)

Michael Kruse via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri May 17 04:23:11 PDT 2024


Meinersbur wrote:

I like the idea, but also have some questions:
1. How does an operation definition look like with all its clauses defined? Does it have to be repeated for each operation supporting the same clause(s)?
2. It seems this requires all properties of a clause specified in its constructor. Wouldn't it be better if you could subclass `OpenMP_Clause` and in there overwrite all the properties that are non-default?
3. Have you considered to define/derive from all this info in OpenMP.td of LLVMFrontend? Clause information should be language-independent. 

https://github.com/llvm/llvm-project/pull/92519


More information about the llvm-branch-commits mailing list