[all-commits] [llvm/llvm-project] 6f3d32: [flang] Improve shape & length characterization

Peter Klausler via All-commits all-commits at lists.llvm.org
Sat Jan 30 16:14:50 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f3d322f250d2381370b256e648cbb76c6de0135
      https://github.com/llvm/llvm-project/commit/6f3d322f250d2381370b256e648cbb76c6de0135
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-01-30 (Sat, 30 Jan 2021)

  Changed paths:
    M flang/include/flang/Evaluate/characteristics.h
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Evaluate/characteristics.cpp
    M flang/lib/Evaluate/shape.cpp
    M flang/lib/Evaluate/variable.cpp
    M flang/lib/Semantics/check-call.cpp
    M flang/lib/Semantics/expression.cpp
    M flang/lib/Semantics/runtime-type-info.cpp

  Log Message:
  -----------
  [flang] Improve shape & length characterization

Analyze the shape of the result of TRANSFER(ptr,array) correctly
when "ptr" is an array of deferred shape.  Fixing this bug led to
some refactoring and concentration of common code in TypeAndShape
member functions with code in general shape and character length
analysis, and this led to some regression test failures that have
all been cleaned up.

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




More information about the All-commits mailing list