[all-commits] [llvm/llvm-project] 0326e2: [MLIR][OpenMP] Make omp.simdloop into a loop wrapper

Sergio Afonso via All-commits all-commits at lists.llvm.org
Tue Apr 2 09:27:10 PDT 2024


  Branch: refs/heads/users/skatrak/spr/loop-nest-03-simd-mlir
  Home:   https://github.com/llvm/llvm-project
  Commit: 0326e2d10e34f63cb7f32b767a611de108bddb0f
      https://github.com/llvm/llvm-project/commit/0326e2d10e34f63cb7f32b767a611de108bddb0f
  Author: Sergio Afonso <safonsof at amd.com>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M flang/lib/Lower/OpenMP/OpenMP.cpp
    M mlir/include/mlir/Dialect/OpenMP/OpenMPOps.td
    M mlir/lib/Conversion/OpenMPToLLVM/OpenMPToLLVM.cpp
    M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
    M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

  Log Message:
  -----------
  [MLIR][OpenMP] Make omp.simdloop into a loop wrapper

This patch updates the definition of `omp.simdloop` to enforce the restrictions
of a wrapper operation. It has been renamed to `omp.simd`, to better reflect
the naming used in the spec.

Some changes to Flang lowering and OpenMP to LLVM IR translation are introduced
in order for this patch to be able to compile and run. The eventual long term
solution might be different.

This is a WIP posted early for visibility. Related unit tests need updating and
there might still be some bugs due to lack of testing.



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