[all-commits] [llvm/llvm-project] bab864: [flang] Fix IsSimplyContiguous() for the case of a...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Aug 2 09:44:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bab86463df0789c39888285494bf68c713f0c5f3
      https://github.com/llvm/llvm-project/commit/bab86463df0789c39888285494bf68c713f0c5f3
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M flang/lib/Evaluate/check-expression.cpp

  Log Message:
  -----------
  [flang] Fix IsSimplyContiguous() for the case of a pointer component

The result expression for the analysis of a Component is not (longer)
valid in the expression traversal framework used by IsSimplyContiguousHelper
now that it has a tri-state result.  Fix so that any result of
analyzing the component symbol is required to be true, not just
present.

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




More information about the All-commits mailing list