[PATCH] D52883: [LoopVectorizer] use TTI.getOperandInfo()

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 4 08:58:20 PDT 2018


fhahn accepted this revision.
fhahn added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/Transforms/Vectorize/LoopVectorize.cpp:5674
         TargetTransformInfo::OK_AnyValue;
     TargetTransformInfo::OperandValueKind Op2VK =
         TargetTransformInfo::OK_AnyValue;
----------------
There's no need to initialize Op2VK here, it could just take the result of getOperandInfo directly.


https://reviews.llvm.org/D52883





More information about the llvm-commits mailing list