[all-commits] [llvm/llvm-project] b634e0: [SLP][REVEC] Fix false assumption of the source fo...
Han-Kuan Chen via All-commits
all-commits at lists.llvm.org
Thu Jul 18 04:55:07 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b634e057ddecc41dce046887d0f0854fed305374
https://github.com/llvm/llvm-project/commit/b634e057ddecc41dce046887d0f0854fed305374
Author: Han-Kuan Chen <hankuan.chen at sifive.com>
Date: 2024-07-18 (Thu, 18 Jul 2024)
Changed paths:
M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
A llvm/test/Transforms/SLPVectorizer/revec-fix-99411.ll
Log Message:
-----------
[SLP][REVEC] Fix false assumption of the source for castToScalarTyElem. (#99424)
The argument V may come from adjustExtracts, which is the vector operand
of ExtractElementInst. In addition, it is not existed in getTreeEntry.
The vector operand of ExtractElementInst may have a type of <1 x Ty>,
ensuring that the number of elements in ScalarTy and VecTy are equal.
reference: https://github.com/llvm/llvm-project/issues/99411
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