[all-commits] [llvm/llvm-project] 8fed62: [flang] Handle missing substring upper bound bette...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jan 31 08:18:18 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fed620e98f4abd772adb4a98d9e3f6cf050c524
      https://github.com/llvm/llvm-project/commit/8fed620e98f4abd772adb4a98d9e3f6cf050c524
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

  Changed paths:
    M flang/lib/Evaluate/variable.cpp
    M flang/test/Evaluate/fold-substr.f90
    M flang/test/Lower/character-local-variables.f90

  Log Message:
  -----------
  [flang] Handle missing substring upper bound better when folding

When folding a substring of a named constant or character literal,
acquire the value of a missing upper bound from the base object.

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




More information about the All-commits mailing list