[PATCH] D18940: Loop vectorization with uniform load

Elena Demikhovsky via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 10 09:50:21 PDT 2016


delena added inline comments.

================
Comment at: ../lib/Transforms/Vectorize/LoopVectorize.cpp:5827
@@ +5826,3 @@
+                                  Alignment, AS);
+      return Cost += TTI.getShuffleCost(TargetTransformInfo::SK_Broadcast,
+                                        ValTy);
----------------
hfinkel wrote:
> This can just be `+` instead of `+=`, otherwise, this LGTM.
Yes, of course. Thank you.


Repository:
  rL LLVM

http://reviews.llvm.org/D18940





More information about the llvm-commits mailing list