[PATCH] D105806: [LV] Print remark when loop cannot be vectorized due to invalid costs.

Sander de Smalen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 12 04:35:24 PDT 2021


sdesmalen created this revision.
Herald added subscribers: mgrang, hiraditya.
sdesmalen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Prints a report of all instructions that have invalid costs for a given
set of vectorization factors. e.g.

  remark: Instructions with invalid costs prevent vectorization for certain VFs:
     call float @llvm.sin(..)  (vscale x 1, vscale x 4)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105806

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/test/Transforms/LoopVectorize/AArch64/scalable-call.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105806.357897.patch
Type: text/x-patch
Size: 5391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210712/0c48c366/attachment.bin>


More information about the llvm-commits mailing list