[all-commits] [llvm/llvm-project] 7a79c6: [mlir][OpenMP] OpenMP Synchronization Hints stored...

Shraiysh via All-commits all-commits at lists.llvm.org
Tue Oct 12 04:01:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a79c6afea93d1237bea2317bea624947ce8a4a5
      https://github.com/llvm/llvm-project/commit/7a79c6afea93d1237bea2317bea624947ce8a4a5
  Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
  Date:   2021-10-12 (Tue, 12 Oct 2021)

  Changed paths:
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  [mlir][OpenMP] OpenMP Synchronization Hints stored as IntegerAttr

`hint-expression` is an IntegerAttr, because it can be a combination of multiple values from the enum `omp_sync_hint_t` (Section 2.17.12 of OpenMP 5.0)

Reviewed By: ftynse, kiranchandramohan

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




More information about the All-commits mailing list