[PATCH] D41045: [LV] NFC patch for moving VP*Recipe class definitions from LoopVectorize.cpp to VPlan.h

Hideki Saito via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 8 18:25:29 PST 2017


hsaito created this revision.
Herald added subscribers: bollu, rengolin.

This is a small step forward to move VPlan stuff to where it should belong (i.e., VPlan.*) --- easy and obvious things at a time, in small increment.

1. VP*Recipe classes in LoopVectorize.cpp are moved to VPlan.h.
2. Many of VP*Recipe::print() and execute() definitions are still left in LoopVectorize.cpp since they refer to things declared in LoopVectorize.cpp. To be moved to VPlan.cpp at a later time.
3. InterleaveGroup class is moved from anonymous namespace to llvm namespace. Referencing it in anonymous namespace from VPlan.h ended up in warning.


https://reviews.llvm.org/D41045

Files:
  lib/Transforms/Vectorize/LoopVectorize.cpp
  lib/Transforms/Vectorize/VPlan.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41045.126254.patch
Type: text/x-patch
Size: 31147 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171209/d40fc359/attachment.bin>


More information about the llvm-commits mailing list