[all-commits] [llvm/llvm-project] d85636: [VPlan] Change recipes to inherit from VPUser inst...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Sep 30 06:39:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d8563654701c79fb9ab28ecf94567d9934baed05
      https://github.com/llvm/llvm-project/commit/d8563654701c79fb9ab28ecf94567d9934baed05
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-09-30 (Wed, 30 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanValue.h
    M llvm/unittests/Transforms/Vectorize/VPlanTest.cpp

  Log Message:
  -----------
  [VPlan] Change recipes to inherit from VPUser instead of a member var.

Now that VPUser is not inheriting from VPValue, we can take the next
step and turn the recipes that already manage their operands via VPUser
into VPUsers directly. This is another small step towards traversing
def-use chains in VPlan.

This is NFC with respect to the generated code, but makes the interface
more powerful.




More information about the All-commits mailing list