mirror-llvm-project/mlir
Aniket Singh fe68b17f46 [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@gmail.com>
2026-01-15 09:49:53 +00:00
..
benchmark/python
cmake/modules [mlir][Python] don't build libnanobind if module only has "pure" sources (#175090) 2026-01-12 17:09:16 +00:00
docs [mlir][Python] add docs about downstream type/attr implementation (#175259) 2026-01-10 05:25:03 +00:00
examples [MLIR] Add missing dialects to C API (#82190) 2026-01-07 12:51:33 -08:00
include [mlir] Consolidate patterns into RegionBranchOpInterface patterns (#174094) 2026-01-13 07:22:09 +00:00
lib [MLIR][SCFToOpenMP] Fix crash when lowering vector reductions (#173978) 2026-01-15 09:49:53 +00:00
python [MLIR][Python] Register OpAttributeMap as Mapping for match compatibility (#174292) 2026-01-10 09:09:05 -08:00
test [MLIR][SCFToOpenMP] Fix crash when lowering vector reductions (#173978) 2026-01-15 09:49:53 +00:00
tools [mlir][Python] use canonical Python isinstance instead of Type.isinstance (#172892) 2026-01-05 21:07:24 +00:00
unittests [mlir][acc] Add ACCSpecializeForDevice and ACCSpecializeForHost passe… (#173527) 2025-12-25 07:25:00 -08:00
utils [MLIR][Pygments] Refine the pygments MLIR lexer (#166406) 2025-11-07 21:12:28 +08:00
.clang-format Enforce Unix line endings for Clang/LLVM/MLIR projects (#161460) 2025-10-02 06:09:12 -07:00
.clang-tidy
CMakeLists.txt [mlir][CMake] enable disabling MLIR_ENABLE_EXECUTION_ENGINE (#171060) 2025-12-08 15:41:27 -08:00
LICENSE.TXT
Maintainers.md maintainer change for xegpu (#163867) 2025-10-17 13:33:23 -07:00
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.