[all-commits] [llvm/llvm-project] 60b1fc: [flang] Correct folding of TRANSFER(integer, chara...

Peter Klausler via All-commits all-commits at lists.llvm.org
Fri Jul 22 17:28:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 60b1fcb1a550b7a7ed0324f122efcd8da1c77eb2
      https://github.com/llvm/llvm-project/commit/60b1fcb1a550b7a7ed0324f122efcd8da1c77eb2
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-07-22 (Fri, 22 Jul 2022)

  Changed paths:
    M flang/lib/Evaluate/initial-image.cpp
    M flang/test/Evaluate/fold-transfer.f90

  Log Message:
  -----------
  [flang] Correct folding of TRANSFER(integer, character array)

The code that copies data from a constant source array into a character
array constant result was failing to copy its last element if it was
only partially defined due to misalignment.

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




More information about the All-commits mailing list