[PATCH] D59995: [LV] Exclude loop-invariant inputs from scalar cost computation.
Ayal Zaks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 03:27:38 PDT 2019
Ayal added inline comments.
================
Comment at: llvm/trunk/lib/Transforms/Vectorize/LoopVectorize.cpp:1175
/// with factor VF. Return the cost of the instruction, including
/// scalarization overhead if it's needed.
unsigned getVectorIntrinsicCost(CallInst *CI, unsigned VF);
----------------
Thanks @fhahn, just pointing out the above documentation is also inaccurate, along with the associated cost.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59995/new/
https://reviews.llvm.org/D59995
More information about the llvm-commits
mailing list