[all-commits] [llvm/llvm-project] b025d6: [flang][OpenMP] Make object identity more precise ...

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Thu Jun 6 05:29:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b025d6913ef7160699e96f0d00820873807310c8
      https://github.com/llvm/llvm-project/commit/b025d6913ef7160699e96f0d00820873807310c8
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-06-06 (Thu, 06 Jun 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/Clauses.h
    M flang/lib/Lower/OpenMP/Utils.cpp
    M flang/test/Lower/OpenMP/map-component-ref.f90

  Log Message:
  -----------
  [flang][OpenMP] Make object identity more precise (#94495)

Derived type components may use a given `Symbol` regardless of what
parent objects they are a part of. Because of that, simply using a
symbol address is not sufficient to determine object identity.

Make the designator a part of the IdTy. To compare identities, when
symbols are equal (and non-null), compare the designators.



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