[all-commits] [llvm/llvm-project] 3a8a52: [flang] Make IsCoarray() more accurate (#121415)

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jan 8 13:17:18 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a8a52f4a52e0c301a5f3d6acce684c7fd4a6d57
      https://github.com/llvm/llvm-project/commit/3a8a52f4a52e0c301a5f3d6acce684c7fd4a6d57
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-01-08 (Wed, 08 Jan 2025)

  Changed paths:
    M flang/include/flang/Evaluate/call.h
    M flang/include/flang/Evaluate/characteristics.h
    M flang/include/flang/Evaluate/constant.h
    M flang/include/flang/Evaluate/expression.h
    M flang/include/flang/Evaluate/tools.h
    M flang/include/flang/Evaluate/variable.h
    M flang/include/flang/Semantics/symbol.h
    M flang/lib/Evaluate/characteristics.cpp
    M flang/lib/Evaluate/expression.cpp
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Evaluate/shape.cpp
    M flang/lib/Evaluate/tools.cpp
    M flang/lib/Evaluate/variable.cpp
    M flang/lib/Optimizer/Builder/CMakeLists.txt
    M flang/lib/Semantics/check-call.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/test/Semantics/resolve94.f90
    M flang/test/Semantics/this_image01.f90

  Log Message:
  -----------
  [flang] Make IsCoarray() more accurate (#121415)

A designator without cosubscripts can have subscripts, component
references, substrings, &c. and still have corank. The current
IsCoarray() predicate only seems to work for whole variable/component
references. This was breaking some cases of THIS_IMAGE().



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