[llvm] [SLP] The order of store chains needs to consider the size of the values. (PR #101810)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 03:16:10 PDT 2024
================
@@ -19123,6 +19123,14 @@ bool SLPVectorizerPass::vectorizeStoreChains(BoUpSLP &R) {
if (V->getPointerOperandType()->getTypeID() >
V2->getPointerOperandType()->getTypeID())
return false;
+ if (V->getValueOperand()->getType()->getScalarSizeInBits() <
----------------
tcwzxx wrote:
Did you miss lines 19114 to 19122, which compare the value operand types?
https://github.com/llvm/llvm-project/pull/101810
More information about the llvm-commits
mailing list