[all-commits] [llvm/llvm-project] cbd445: [flang] Re-fold bounds expressions in DATA implied...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Nov 30 13:28:46 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cbd445e4a331114752093746e9d596dafb8580b8
      https://github.com/llvm/llvm-project/commit/cbd445e4a331114752093746e9d596dafb8580b8
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2021-11-30 (Tue, 30 Nov 2021)

  Changed paths:
    M flang/lib/Semantics/data-to-inits.cpp

  Log Message:
  -----------
  [flang] Re-fold bounds expressions in DATA implied DO loops

To accommodate triangular implied DO loops in DATA statements, in which
the bounds of nested implied DO loops might depend on the values of the
indices of outer implied DO loops in the same DATA statement set, it
is necessary to run them through constant folding each time they are
encountered.

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




More information about the All-commits mailing list