[PATCH] D30649: [SLP] Function for instruction cost calculation, NFC.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 6 06:29:58 PST 2017


ABataev created this revision.

Added function `BoUpSLP::getCost()` to calculate the scalar or vector
cost of the specified list of instructions (expected scalar
instructions) or `vector - scalar` cost estimation.


https://reviews.llvm.org/D30649

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30649.90689.patch
Type: text/x-patch
Size: 15109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170306/eea4424b/attachment.bin>


More information about the llvm-commits mailing list