[PATCH] D49491: [RFC][VPlan, SLP] Add simple SLP analysis on top of VPlan.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 8 07:39:58 PST 2018


ABataev added a comment.

Just one more question: how do you estimate that the vectorized code is more effective than the scalar one? What's the criterion?



================
Comment at: lib/Transforms/Vectorize/VPlanValue.h:168
 
+  void setOperand(unsigned i, VPValue *New) { Operands[i] = New; }
+
----------------
Capitalize `i`, must be `I`


https://reviews.llvm.org/D49491





More information about the llvm-commits mailing list