[all-commits] [llvm/llvm-project] 077513: [flang] Fix crash in folding (#48437)

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Dec 16 08:31:59 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07751310580fa5b7b94b6efa85d7964af0f699a6
      https://github.com/llvm/llvm-project/commit/07751310580fa5b7b94b6efa85d7964af0f699a6
  Author: peter klausler <pklausler at nvidia.com>
  Date:   2020-12-16 (Wed, 16 Dec 2020)

  Changed paths:
    M flang/include/flang/Evaluate/constant.h
    M flang/lib/Evaluate/fold-implementation.h
    A flang/test/Evaluate/folding16.f90

  Log Message:
  -----------
  [flang] Fix crash in folding (#48437)

Elemental intrinsic function folding was not taking the lower
bounds of constant array arguments into account; these lower bounds
can be distinct from 1 when named constants appear as arguments.

LLVM bugzilla #48437.

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




More information about the All-commits mailing list