[PATCH] D52417: [LoopVectorizer] Don't pass the instruction pointer from getMemInstScalarizationCost.
Ulrich Weigand via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 30 06:31:49 PDT 2018
uweigand added inline comments.
================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:5262
TTI.getMemoryOpCost(I->getOpcode(), ValTy->getScalarType(), Alignment,
- AS, I);
+ AS);
----------------
I think it would be good to add a comment why no instruction pointer is passed. Otherwise this LGTM.
https://reviews.llvm.org/D52417
More information about the llvm-commits
mailing list