[llvm-branch-commits] [OpenMP][MLIR] Extend record member map support for omp dialect to LLVM-IR (PR #82852)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Apr 24 08:11:10 PDT 2024


================
@@ -2283,16 +2386,12 @@ static void processMapMembersWithParent(
   for (auto mappedMembers : parentClause.getMembers()) {
     auto memberClause =
         mlir::dyn_cast<mlir::omp::MapInfoOp>(mappedMembers.getDefiningOp());
----------------
agozillon wrote:

should be fine to fix it in this PR as we're altering the file in any case! But, I can perhaps do a follow up PR to adjust these cases, I have a bad habit of using dyn_cast as opposed to cast, usually I check the result, but it seems I've done that infrequently in this PR at the least! 

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


More information about the llvm-branch-commits mailing list