[all-commits] [llvm/llvm-project] bd577a: [flang][runtime] Fix runtime CSHIFT of rank>1 arra...

Peter Klausler via All-commits all-commits at lists.llvm.org
Mon Jun 13 11:34:42 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd577afe8fcc92fb28b421db14e96207dcd86e97
      https://github.com/llvm/llvm-project/commit/bd577afe8fcc92fb28b421db14e96207dcd86e97
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M flang/runtime/transformational.cpp

  Log Message:
  -----------
  [flang][runtime] Fix runtime CSHIFT of rank>1 array case of negative shift count

The calculation of the source index was incorrect when a CSHIFT shift
count value is negative, for the implementation of CSHIFT for arrays
with rank >= 2.  (The vector CSHIFT is fine.)

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




More information about the All-commits mailing list