[all-commits] [llvm/llvm-project] 72ac3e: [flang] Lower F08 shift intrinsics

Tarun Prabhu via All-commits all-commits at lists.llvm.org
Thu Jul 21 22:40:14 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72ac3e90da47d2b47a60b9fb04408d64e36efe53
      https://github.com/llvm/llvm-project/commit/72ac3e90da47d2b47a60b9fb04408d64e36efe53
  Author: Tarun Prabhu <tarun.prabhu at gmail.com>
  Date:   2022-07-21 (Thu, 21 Jul 2022)

  Changed paths:
    M flang/lib/Lower/IntrinsicCall.cpp
    A flang/test/Lower/Intrinsics/dshiftl.f90
    A flang/test/Lower/Intrinsics/dshiftr.f90
    A flang/test/Lower/Intrinsics/shifta.f90
    A flang/test/Lower/Intrinsics/shiftl.f90
    A flang/test/Lower/Intrinsics/shiftr.f90

  Log Message:
  -----------
  [flang] Lower F08 shift intrinsics

Lower F08 shift (shiftl, shiftr, shifta) and combined shift (dshiftl, dshiftr)
intrinsics. The combined shift intrinsics are implemented using the
definitions of shiftl and shiftr as described by the standard.

For non-conformant arguments to the shift intrinsics, the implementation tries
to replicate the behavior of other compilers if most of the other behave
consistently.

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




More information about the All-commits mailing list