[all-commits] [llvm/llvm-project] 8e463b: [flang][openacc] Convert rhs expr to the lhs type ...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Fri Oct 27 13:31:18 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e463b3083e4bf11231097771d78187db2127760
      https://github.com/llvm/llvm-project/commit/8e463b3083e4bf11231097771d78187db2127760
  Author: Valentin Clement (バレンタイン クレメン) <clementval at gmail.com>
  Date:   2023-10-27 (Fri, 27 Oct 2023)

  Changed paths:
    M flang/lib/Lower/DirectivesCommon.h
    M flang/test/Lower/OpenACC/acc-atomic-capture.f90
    M flang/test/Lower/OpenACC/acc-atomic-read.f90

  Log Message:
  -----------
  [flang][openacc] Convert rhs expr to the lhs type on atomic read/write (#70377)

In some cases the rhs expression scalar type is not the same as the lhs
type. A convert op is needed before the acc.atomic.read or
acc.atomic.write operation to fit with the requirements of the
operations.




More information about the All-commits mailing list