[all-commits] [llvm/llvm-project] a0e131: [VPlan] Add getVPSingleValue helper.

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Apr 29 05:40:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0e1313c23296da1cf592f972ed97e5dea10b8ea
      https://github.com/llvm/llvm-project/commit/a0e1313c23296da1cf592f972ed97e5dea10b8ea
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-04-29 (Thu, 29 Apr 2021)

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

  Log Message:
  -----------
  [VPlan] Add getVPSingleValue helper.

As suggested in D99294, this adds a getVPSingleValue helper to use for
recipes that are guaranteed to define a single value. This replaces uses
of getVPValue() which used to default to I = 0.




More information about the All-commits mailing list