[all-commits] [llvm/llvm-project] f40672: [Flang][OpenMP] Add lowering support for DO SIMD
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Thu Jul 4 05:06:21 PDT 2024
Branch: refs/heads/users/skatrak/composite-lower-06-dosimd
Home: https://github.com/llvm/llvm-project
Commit: f40672d4e9a7dcbd6c89dc7e438747d1b5486d8c
https://github.com/llvm/llvm-project/commit/f40672d4e9a7dcbd6c89dc7e438747d1b5486d8c
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-07-04 (Thu, 04 Jul 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
R flang/test/Lower/OpenMP/Todo/omp-do-simd-aligned.f90
M flang/test/Lower/OpenMP/Todo/omp-do-simd-linear.f90
R flang/test/Lower/OpenMP/Todo/omp-do-simd-safelen.f90
R flang/test/Lower/OpenMP/Todo/omp-do-simd-simdlen.f90
M flang/test/Lower/OpenMP/if-clause.f90
M flang/test/Lower/OpenMP/loop-compound.f90
A flang/test/Lower/OpenMP/wsloop-schedule.f90
M flang/test/Lower/OpenMP/wsloop-simd.f90
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Log Message:
-----------
[Flang][OpenMP] Add lowering support for DO SIMD
This patch adds support for lowering 'DO SIMD' constructs to MLIR. SIMD
information is now stored in an `omp.simd` loop wrapper, which is currently
ignored by the OpenMP dialect to LLVM IR translation stage.
The end result is that runtime behavior of compiled 'DO SIMD' constructs does
not change after this patch, so 'DO SIMD' still runs like 'DO' (i.e. SIMD width
= 1). However, all of the required information is now present in the resulting
MLIR representation.
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