[all-commits] [llvm/llvm-project] 1f01cb: [SLP]Fix crash in bool bitmask reduction match aft...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Tue Sep 22 18:35:07 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1f01cb40300e3a76fe0b6b97e0cf1ad36e9b631f
https://github.com/llvm/llvm-project/commit/1f01cb40300e3a76fe0b6b97e0cf1ad36e9b631f
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2026-09-22 (Tue, 22 Sep 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/narrowed-reduction-leaves-known-bits.ll
Log Message:
-----------
[SLP]Fix crash in bool bitmask reduction match after tree vectorization
The known bits of the narrowed reduction leaves were computed after the
tree vectorization, which drops the operands of the vectorized scalars,
so the analysis dereferenced null operands. Match the bitmask form before
the vectorization and pass the result to the emission.
Fixes #225538
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/225568
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