[all-commits] [llvm/llvm-project] 85ec44: [flang] Fix ORDER= argument to RESHAPE

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Nov 12 10:25:14 PST 2021


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

  Changed paths:
    M flang/include/flang/Evaluate/constant.h
    M flang/lib/Evaluate/constant.cpp
    M flang/runtime/transformational.cpp
    M flang/test/Evaluate/folding06.f90

  Log Message:
  -----------
  [flang] Fix ORDER= argument to RESHAPE

The ORDER= argument to the transformational intrinsic function RESHAPE
was being misinterpreted in an inverted way that could be detected only
with 3-d or higher rank array.  Fix in both folding and the runtime, and
extend tests.

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




More information about the All-commits mailing list