[PATCH] D132566: [SLP] Fix cost model w.r.t. operand properties

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 24 08:33:42 PDT 2022


reames added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:6429
+      auto Op1Info = getOperandInfo(VL, 0);
+      auto Op2Info = getOperandInfo(VL, OpIdx);
       InstructionCost VecCost =
----------------
RKSimon wrote:
> Don't use auto (even though it was used before.....)
Why?  This is certainly allowed by LLVM coding standards.  


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132566/new/

https://reviews.llvm.org/D132566



More information about the llvm-commits mailing list