diff options
| author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-11-09 18:58:07 +0000 |
|---|---|---|
| committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2026-11-10 10:49:06 +0000 |
| commit | e56090afb68b6c036d6b54c7b66d762d98bd96d0 (patch) | |
| tree | b669bef56e83a9e7896aa2083edd4794257e8cc1 /sys/dev/ixgbe/ixgbe_dcb_82599.h | |
| parent | daa4c25953a75dab8d7d2fbdb822c00c48620d5c (diff) | |
[SLPVectorizer] Check std::optional coming out of getPointersDiff (#175784)
Fixes https://github.com/llvm/llvm-project/issues/175768
There are other unchecked uses std::optional in this pass but I couldn't
figure out a test that triggers them
This fixes a clang crash in the SLP vectorizer, hit when building
audio/csound on powerpc64le. The hardened libc++ traps on the disengaged
optional, so clang dies with exit code 133. The second hunk is adapted to
llvm 21, where analyzeConstantStrideCandidate() is still isStridedLoad().
Reviewed by: dim
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D61354
Diffstat (limited to 'sys/dev/ixgbe/ixgbe_dcb_82599.h')
0 files changed, 0 insertions, 0 deletions
