[PATCH] D75448: [LoopVectorizer] Change types of lists from pointers to references. NFC

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 2 05:03:01 PST 2020


dmgreen created this revision.
dmgreen added reviewers: Ayal, hsaito, fhahn, gilr, dcaballe, rengolin.
Herald added subscribers: rogfer01, hiraditya.
Herald added a project: LLVM.

getReductionVars, getInductionVars and getFirstOrderRecurrences were all being returned from LoopVectorizationLegality as pointers to lists. This just changes them to be references, cleaning up the interface slightly.


https://reviews.llvm.org/D75448

Files:
  llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h
  llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
  llvm/lib/Transforms/Vectorize/VPlanTransforms.h
  llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75448.247606.patch
Type: text/x-patch
Size: 12869 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200302/7fc5150c/attachment-0001.bin>


More information about the llvm-commits mailing list