[all-commits] [llvm/llvm-project] 0f8615: [flang][openacc][openmp] Set correct location on a...

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Mon Oct 30 10:35:56 PDT 2023


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

  Changed paths:
    M flang/lib/Lower/DirectivesCommon.h
    M flang/lib/Lower/OpenACC.cpp
    M flang/lib/Lower/OpenMP.cpp
    M flang/test/Lower/OpenACC/locations.f90

  Log Message:
  -----------
  [flang][openacc][openmp] Set correct location on atomic operations (#70680)

The location set on atomic operations in both OpenMP and OpenACC was
completly off. The real location needs to be created from the source
CharBlock of the parse tree node of the respective atomic statement.
This patch updates locations in lowering for atomic operations.




More information about the All-commits mailing list