[all-commits] [llvm/llvm-project] e25917: [MLIR][SCFToOpenMP] Fix crash when lowering vector...
Aniket Singh via All-commits
all-commits at lists.llvm.org
Tue Jan 13 02:06:50 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e259175995f1ec4f8d8646f66cd90ac377361fa5
https://github.com/llvm/llvm-project/commit/e259175995f1ec4f8d8646f66cd90ac377361fa5
Author: Aniket Singh <122245575+Aniketsingh54 at users.noreply.github.com>
Date: 2026-01-13 (Tue, 13 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