[all-commits] [llvm/llvm-project] f2c2a3: [OpenMPIRBuilder] Store element type in AtomicOpValue

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jan 28 00:36:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2c2a31dd7483be8ac98917cd3b800418c58c5f6
      https://github.com/llvm/llvm-project/commit/f2c2a31dd7483be8ac98917cd3b800418c58c5f6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
    M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
    M llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [OpenMPIRBuilder] Store element type in AtomicOpValue

With opaque pointers, we can no longer derive this from the pointer
type, so we need to explicitly provide the element type the atomic
operation should work with.

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




More information about the All-commits mailing list