[all-commits] [llvm/llvm-project] 78649a: [flang] Accept INDEX(..., BACK=array)

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jan 19 17:54:22 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 78649a8499a0177cced99dcd61afcb48809e9109
      https://github.com/llvm/llvm-project/commit/78649a8499a0177cced99dcd61afcb48809e9109
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-01-19 (Wed, 19 Jan 2022)

  Changed paths:
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/test/Evaluate/folding05.f90

  Log Message:
  -----------
  [flang] Accept INDEX(..., BACK=array)

The intrinsic table entry for INDEX mistakenly required
the optional BACK= argument to be scalar, but it's an
elemental intrinsic that can accept a conforming array.

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




More information about the All-commits mailing list