[all-commits] [llvm/llvm-project] ce8dbe: [flang] Do not include dangling ac-implied-do-inde...

jeanPerier via All-commits all-commits at lists.llvm.org
Fri Feb 24 00:09:32 PST 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce8dbe3c253147b6229a34899d2adc5bc705157c
  Author: Jean Perier <jperier at nvidia.com>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M flang/include/flang/Evaluate/shape.h
    M flang/test/Evaluate/rewrite01.f90

  Log Message:
  [flang] Do not include dangling ac-implied-do-index in folded shape inquiry

The current code was replacing inquiry to array constructor whose
ac-value shape depends on ac-implied-do-index with an expression
using the ac-implied-do-index without the implied-do (folding the
first case added in the test as in the second case with a regular

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

More information about the All-commits mailing list