[PATCH] D59995: [LV] Exclude loop-invariant inputs from scalar cost computation.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 03:54:07 PDT 2019


fhahn updated this revision to Diff 198430.
fhahn added a comment.

Split out moving various functions to LoopVectorizationCostModel to D61638 <https://reviews.llvm.org/D61638>.

Hoisted needsExtract to do the check if we need to extract/scalarize an operand
to LoopVectorizationCostModel and extend it to check for loop invariant operands.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59995

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/extractvalue-no-scalarization-required.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59995.198430.patch
Type: text/x-patch
Size: 8990 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190507/f57b8698/attachment.bin>


More information about the llvm-commits mailing list