[all-commits] [llvm/llvm-project] 660832: [OpenMP, MLIR] Translation of parallel operation: n...

kiranchandramohan via All-commits all-commits at lists.llvm.org
Fri Aug 7 13:55:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 660832c4e744108ecb45b697e51be72482cacd42
      https://github.com/llvm/llvm-project/commit/660832c4e744108ecb45b697e51be72482cacd42
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2020-08-07 (Fri, 07 Aug 2020)

  Changed paths:
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
    M mlir/test/Dialect/OpenMP/invalid.mlir
    M mlir/test/Dialect/OpenMP/ops.mlir
    M mlir/test/Target/openmp-llvm.mlir

  Log Message:
  -----------
  [OpenMP,MLIR] Translation of parallel operation: num_threads, if clauses 3/n

This simple patch translates the num_threads and if clauses of the parallel
operation. Also includes test cases.
A minor change was made to parsing of the if clause to parse AnyType and
return the parsed type. Updates to test cases also.

Reviewed by: SouraVX
Differential Revision: https://reviews.llvm.org/D84798




More information about the All-commits mailing list