[all-commits] [llvm/llvm-project] fe68b1: [MLIR][SCFToOpenMP] Fix crash when lowering vector...
Aniket Singh via All-commits
all-commits at lists.llvm.org
Thu Jan 15 01:50:18 PST 2026
Branch: refs/heads/release/22.x
Home: https://github.com/llvm/llvm-project
Commit: fe68b17f46d470c2aa5223bb3cc4fec0d14801f9
https://github.com/llvm/llvm-project/commit/fe68b17f46d470c2aa5223bb3cc4fec0d14801f9
Author: Aniket Singh <122245575+Aniketsingh54 at users.noreply.github.com>
Date: 2026-01-15 (Thu, 15 Jan 2026)
Changed paths:
M mlir/lib/Conversion/SCFToOpenMP/SCFToOpenMP.cpp
A mlir/test/Conversion/SCFToOpenMP/vector-reduction.mlir
Log Message:
-----------
[MLIR][SCFToOpenMP] Fix crash when lowering vector reductions (#173978)
This patch fixes a crash in the SCF to OpenMP conversion pass when
encountering scf.parallel with vector reductions.
- Extracts scalar element types for bitwidth calculations.
- Uses DenseElementsAttr for vector splat initializers.
- Bypasses llvm.atomicrmw for vector types (not supported in LLVM IR).
Fixes #173860
---------
Co-authored-by: Aniket Singh <amiket.singh.3200.00 at gmail.com>
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