[PATCH] D46825: [VPlan] Add moveAfter to VPRecipeBase.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 14 03:55:00 PDT 2018


fhahn created this revision.
fhahn added reviewers: dcaballe, hsaito, rengolin, mkuper, mssimpso, hfinkel.
Herald added subscribers: tschuett, bollu, mgorny.

This patch adds a moveAfter method to VPRecipeBase, which can be used to
move elements after other elements, across VPBasicBlocks, if necessary.

It also adds an initial unittest for VPlan.


https://reviews.llvm.org/D46825

Files:
  lib/Transforms/Vectorize/VPlan.cpp
  lib/Transforms/Vectorize/VPlan.h
  unittests/Transforms/CMakeLists.txt
  unittests/Transforms/Vectorize/CMakeLists.txt
  unittests/Transforms/Vectorize/VPlanTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46825.146572.patch
Type: text/x-patch
Size: 4154 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180514/01e807fc/attachment.bin>


More information about the llvm-commits mailing list