[PATCH] D148382: [SLP][NFC] Remove Limit from tryToVectorizeSequence() arguments.

Vasileios Porpodas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 14 14:29:26 PDT 2023


vporpo created this revision.
vporpo added reviewers: ABataev, vdmitrie, RKSimon, dmgreen.
Herald added a subscriber: hiraditya.
Herald added a project: All.
vporpo requested review of this revision.
Herald added subscribers: llvm-commits, pcwang-thead.
Herald added a project: LLVM.

Limit turns out to be implemented in the exact same way for all calls to
tryToVectorizeSequence(). So this patch removes it and implements it internally
as a lambda function.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148382

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148382.513750.patch
Type: text/x-patch
Size: 4529 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230414/e25fb9e7/attachment.bin>


More information about the llvm-commits mailing list