[all-commits] [llvm/llvm-project] 188c02: [flang] Simplify same_type_as condition

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Mar 9 06:47:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 188c02daaa24a484507a5e20db475180e793ccfd
      https://github.com/llvm/llvm-project/commit/188c02daaa24a484507a5e20db475180e793ccfd
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2023-03-09 (Thu, 09 Mar 2023)

  Changed paths:
    M flang/runtime/derived-api.cpp
    M flang/unittests/Runtime/Derived.cpp

  Log Message:
  -----------
  [flang] Simplify same_type_as condition

Restore the behavior changed in D145384 and add proper
unit tests.

Unallocated unlimited poymorphic allocatable and disassociated
unlimited polymorphic pointer should return false.

Reviewed By: PeteSteinfeld

Differential Revision: https://reviews.llvm.org/D145674




More information about the All-commits mailing list