[PATCH] D67841: [SLP] avoid reduction transform on patterns that the backend can load-combine
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 08:48:15 PDT 2019
ABataev added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:6497
+ if (ReductionData.getOpcode() == Instruction::Or)
+ LoadCombineCost = TTI->getLoadCombineCost(FirstReducedVal);
+ if (LoadCombineCost) {
----------------
Shall we move all this stuff to `TargetTransformInfo::getArithmeticInstrCost`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67841/new/
https://reviews.llvm.org/D67841
More information about the llvm-commits
mailing list