[all-commits] [llvm/llvm-project] f5d29c: [mlir][OpenMP] Add memory_order clause tests

Shraiysh via All-commits all-commits at lists.llvm.org
Fri Jun 3 01:12:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5d29c15bf8f70bcab6a697e7c1cbc04607bee95
      https://github.com/llvm/llvm-project/commit/f5d29c15bf8f70bcab6a697e7c1cbc04607bee95
  Author: Shraiysh Vaishay <Shraiysh.Vaishay at amd.com>
  Date:   2022-06-03 (Fri, 03 Jun 2022)

  Changed paths:
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir

  Log Message:
  -----------
  [mlir][OpenMP] Add memory_order clause tests

This patch adds tests for memory_order clause for atomic update and
capture operations. This patch also adds a check for making sure that
the operations inside and omp.atomic.capture region do not specify the
memory_order clause.

Reviewed By: kiranchandramohan, peixin

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




More information about the All-commits mailing list