This patch migrates the emitOffloadingArrays and EmitNonContiguousDescriptor functions from Clang codegen to OpenMPIRBuilder.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
If this passes all our tests, it looks fine. A few nits below, try to address if possible.
llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp | ||
---|---|---|
4440 | If it helps, you can define the struct type in OMPKind.td, I think that's the name. | |
4500 | Can we do an early exit here? | |
4575 | Generally try to have the "short" branch first, especially one liners. | |
4631 | Add a message to all asserts, please. |
I don't think we need a lambda function, it can be a regular method or static function?