[flang-commits] [PATCH] D95744: [flang] Improve shape & length characterization

Peter Klausler via Phabricator via flang-commits flang-commits at lists.llvm.org
Sat Jan 30 10:15:48 PST 2021


klausler created this revision.
klausler added a reviewer: PeteSteinfeld.
klausler added a project: Flang.
Herald added a subscriber: jdoerfert.
Herald added a reviewer: sscalpone.
klausler requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95744

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95744.320312.patch
Type: text/x-patch
Size: 16054 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20210130/89837169/attachment-0001.bin>


More information about the flang-commits mailing list