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

Krzysztof Parzyszek via All-commits all-commits at lists.llvm.org
Wed Jun 5 09:08:49 PDT 2024


  Branch: refs/heads/users/kparzysz/spr/a03-better-id
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c266fa056044e2baa6cd4262fdf9a4cd74fd14d
      https://github.com/llvm/llvm-project/commit/1c266fa056044e2baa6cd4262fdf9a4cd74fd14d
  Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
  Date:   2024-06-05 (Wed, 05 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

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