[all-commits] [llvm/llvm-project] b7a8f5: [SLP][NFC]Exit early from attempt-to-reorder, if i...
Alexey Bataev via All-commits
all-commits at lists.llvm.org
Thu Nov 7 11:08:19 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b7a8f5f4c978856852bc39dc3d29265756e37cfe
https://github.com/llvm/llvm-project/commit/b7a8f5f4c978856852bc39dc3d29265756e37cfe
Author: Alexey Bataev <a.bataev at outlook.com>
Date: 2024-11-07 (Thu, 07 Nov 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Log Message:
-----------
[SLP][NFC]Exit early from attempt-to-reorder, if it is useless
Adds early exits, which just save compile time. It can exit earl, if the
total number of scalars is 2, or all scalars are constant, or the opcode
is the same and not alternate. In this case reordering will not happen
and compiler can exit early to save compile time
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