[all-commits] [llvm/llvm-project] 3ee8d0: [SLP] Fix a check for main/alternate interchanged ...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Mon Aug 4 08:32:19 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3ee8d047109ea4bb479095f4b153c2120a8d726c
https://github.com/llvm/llvm-project/commit/3ee8d047109ea4bb479095f4b153c2120a8d726c
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2025-08-04 (Mon, 04 Aug 2025)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/X86/main-alternate-interechanged-detect.ll
Log Message:
-----------
[SLP] Fix a check for main/alternate interchanged instruction
If the instruction is checked for matching the main instruction, need to
check if the opcode of the main instruction is compatible with the
operands of the instruction. If they are not, need to check the
alternate instruction and its operands for compatibility and return
alternate instruction as a match.
Fixes #151699
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