File tree Expand file tree Collapse file tree 1 file changed +6
-13
lines changed
mlir/lib/Target/LLVMIR/Dialect/OpenMP Expand file tree Collapse file tree 1 file changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -537,19 +537,12 @@ static llvm::omp::ProcBindKind getProcBindKind(omp::ClauseProcBindKind kind) {
537
537
llvm_unreachable (" Unknown ClauseProcBindKind kind" );
538
538
}
539
539
540
- // / Maps elements of \p blockArgs (which are MLIR values) to the corresponding
541
- // / LLVM values of \p operands' elements. This is useful when an OpenMP region
542
- // / with entry block arguments is converted to LLVM. In this case \p blockArgs
543
- // / are (part of) of the OpenMP region's entry arguments and \p operands are
544
- // / (part of) of the operands to the OpenMP op containing the region.
545
- // /
546
- // / This function assumes that \p operands belong to the enclosing op of the
547
- // / block containing \p blockArgs:
548
- // / ```
549
- // / enclosing_op(operands) {
550
- // / block(blockArgs)
551
- // / }
552
- // / ```
540
+ // / Maps block arguments from \p blockArgIface (which are MLIR values) to the
541
+ // / corresponding LLVM values of \p the interface's operands. This is useful
542
+ // / when an OpenMP region with entry block arguments is converted to LLVM. In
543
+ // / this case the block arguments are (part of) of the OpenMP region's entry
544
+ // / arguments and the operands are (part of) of the operands to the OpenMP op
545
+ // / containing the region.
553
546
static void forwardArgs (LLVM::ModuleTranslation &moduleTranslation,
554
547
omp::BlockArgOpenMPOpInterface blockArgIface) {
555
548
llvm::SmallVector<std::pair<Value, BlockArgument>> blockArgsPairs;
You can’t perform that action at this time.
0 commit comments