[all-commits] [llvm/llvm-project] cf68c9: [Flang][OpenMP] Move declare mapper sym creation o...

Sergio Afonso via All-commits all-commits at lists.llvm.org
Wed Mar 12 04:54:50 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf68c9378b0c935a1fe0ba2b3b3276d16cf2b09a
      https://github.com/llvm/llvm-project/commit/cf68c9378b0c935a1fe0ba2b3b3276d16cf2b09a
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2025-03-12 (Wed, 12 Mar 2025)

  Changed paths:
    M flang/lib/Lower/OpenMP/ClauseProcessor.cpp

  Log Message:
  -----------
  [Flang][OpenMP] Move declare mapper sym creation outside loop, NFC (#130794)

This patch simplifies the definition of
`ClauseProcessor::processMapObjects` by hoisting the creation of the
MLIR symbol associated to an existing `omp.declare_mapper` operation
outside of the loop processing all mapped objects.

That change removes some inter-iteration dependencies that made the
implementation more difficult to follow.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list