[all-commits] [llvm/llvm-project] f41377: [SLP]Fix last instruction selection for vectorized...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Mon Apr 7 09:27:38 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f413772b318c2da4dfc488df81cb3c458606301f
https://github.com/llvm/llvm-project/commit/f413772b318c2da4dfc488df81cb3c458606301f
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2025-04-07 (Mon, 07 Apr 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/split-node-last-inst-vectorized.ll
Log Message:
-----------
[SLP]Fix last instruction selection for vectorized last instruction in SplitVectorize nodes
If the last instruction in the SplitVectorize node is vectorized and
scheduled as part of some bundles, the SplitVectorize node might be
placed in the wrong order, leading to a compiler crash. Need to check if
the vectorized node has vector value and place the SplitVectorize node after the vector instruction to prevent a compile crash.
Fixes issue reported in https://github.com/llvm/llvm-project/pull/133091#issuecomment-2782826805
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