[all-commits] [llvm/llvm-project] 92e22c: [flang] Fix UBOUND() constant folding for parenthe...

FruitClover via All-commits all-commits at lists.llvm.org
Thu Apr 28 02:57:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92e22c97e9ef0da76b52bf56a0ac5d4a312b1ea7
      https://github.com/llvm/llvm-project/commit/92e22c97e9ef0da76b52bf56a0ac5d4a312b1ea7
  Author: Mike Kashkarov <fruitclover at gmail.com>
  Date:   2022-04-28 (Thu, 28 Apr 2022)

  Changed paths:
    M flang/lib/Evaluate/fold-integer.cpp
    M flang/test/Evaluate/folding08.f90

  Log Message:
  -----------
  [flang] Fix UBOUND() constant folding for parentheses expr

Similarly to LBOUND((x)) in https://reviews.llvm.org/D123838 - fix UBOUND((x))
folding for constant arrays to return shape instead of recurse scan.

Depends on D123520

Reviewed By: jeanPerier

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




More information about the All-commits mailing list