[PATCH] D143957: [LV] Move invalid cost remark code to separate function (NFC).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 13 15:22:55 PST 2023


fhahn created this revision.
fhahn added reviewers: sdesmalen, Ayal, gilr, david-arm.
Herald added subscribers: StephenFan, mgrang, hiraditya.
Herald added a project: All.
fhahn requested review of this revision.
Herald added a subscriber: pcwang-thead.
Herald added a project: LLVM.

The code only needs access to INvalidCosts, ORE and TheLoop, so it can
easily be moved into a helper to make selectVectorizationFactor more
compact.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D143957

Files:
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143957.497131.patch
Type: text/x-patch
Size: 6452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230213/d3ae310f/attachment.bin>


More information about the llvm-commits mailing list