[all-commits] [llvm/llvm-project] 3bbb2c: [flang] Preserve component array lower bounds in f...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Sep 23 17:13:29 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bbb2c2d99b96a84306629d674ee00455f56b0fa
      https://github.com/llvm/llvm-project/commit/3bbb2c2d99b96a84306629d674ee00455f56b0fa
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-09-23 (Fri, 23 Sep 2022)

  Changed paths:
    M flang/include/flang/Evaluate/tools.h
    M flang/lib/Evaluate/check-expression.cpp
    M flang/lib/Evaluate/fold.cpp

  Log Message:
  -----------
  [flang] Preserve component array lower bounds in folding

When a component array of a named constant is extracted as
a constant value, ensure that the lower bounds of the array
are properly acquired from the declaration of the component.

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




More information about the All-commits mailing list