[all-commits] [llvm/llvm-project] f44346: [flang][flang-driver][mlir][OpenMP] atomic control...

Anchu Rajendran S via All-commits all-commits at lists.llvm.org
Thu Jul 24 09:49:59 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f44346dc1f6252716cfc62bb0687e3932a93089f
      https://github.com/llvm/llvm-project/commit/f44346dc1f6252716cfc62bb0687e3932a93089f
  Author: Anchu Rajendran S <asudhaku at amd.com>
  Date:   2025-07-24 (Thu, 24 Jul 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M flang/include/flang/Frontend/TargetOptions.h
    M flang/include/flang/Optimizer/Dialect/Support/FIRContext.h
    M flang/lib/Frontend/CompilerInvocation.cpp
    M flang/lib/Lower/Bridge.cpp
    M flang/lib/Lower/OpenMP/Atomic.cpp
    M flang/lib/Optimizer/Dialect/Support/FIRContext.cpp
    A flang/test/Lower/OpenMP/atomic-control-options.f90
    M mlir/include/mlir/Dialect/OpenMP/OpenMPAttrDefs.td
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  [flang][flang-driver][mlir][OpenMP] atomic control support (#143441)

Atomic Control Options are used to specify architectural characteristics
to help lowering of atomic operations. The options used are:
`-f[no-]atomic-remote-memory`, `-f[no-]atomic-fine-grained-memory`,
 `-f[no-]atomic-ignore-denormal-mode`.
Legacy option `-m[no-]unsafe-fp-atomics` is aliased to
`-f[no-]ignore-denormal-mode`.
More details can be found in
https://github.com/llvm/llvm-project/pull/102569. This PR implements the
frontend support for these options with OpenMP atomic in flang.

Backend changes are available in the draft PR:
https://github.com/llvm/llvm-project/pull/143769 which will be raised
after this merged.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list