[all-commits] [llvm/llvm-project] 7ccc7e: [flang] Fix to IsDescriptor

Tim Keith via All-commits all-commits at lists.llvm.org
Thu May 7 07:52:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ccc7e56724974a27c8ada44f3cf0be0b5b1f4c2
      https://github.com/llvm/llvm-project/commit/7ccc7e56724974a27c8ada44f3cf0be0b5b1f4c2
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-05-07 (Thu, 07 May 2020)

  Changed paths:
    M flang/include/flang/Semantics/type.h
    M flang/lib/Evaluate/type.cpp
    M flang/lib/Semantics/type.cpp
    M flang/test/Semantics/offsets01.f90

  Log Message:
  -----------
  [flang] Fix to IsDescriptor

IsDescriptor was returning false for a component whose shape depended
on a length parameter. Change it to return true for any array with
non-constant bounds.

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




More information about the All-commits mailing list