[all-commits] [llvm/llvm-project] 15d857: [Flang][OpenMP] Support lowering of simd reduction...
Sergio Afonso via All-commits
all-commits at lists.llvm.org
Wed Oct 16 02:28:12 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 15d85769f119061fbfcae6e9de43982b534ef724
https://github.com/llvm/llvm-project/commit/15d85769f119061fbfcae6e9de43982b534ef724
Author: Sergio Afonso <safonsof at amd.com>
Date: 2024-10-16 (Wed, 16 Oct 2024)
Changed paths:
M flang/lib/Lower/OpenMP/OpenMP.cpp
M flang/test/Lower/OpenMP/simd.f90
M mlir/lib/Dialect/OpenMP/IR/OpenMPDialect.cpp
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Log Message:
-----------
[Flang][OpenMP] Support lowering of simd reductions (#112194)
This patch enables lowering to MLIR of the reduction clause of `simd`
constructs. Lowering from MLIR to LLVM IR remains unimplemented, so at
that stage it will result in errors being emitted rather than silently
ignoring it as it is currently done.
On composite `do simd` constructs, this lowering error will remain
untriggered, as the `omp.simd` operation in that case is currently
ignored. The MLIR representation, however, will now contain `reduction`
information.
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