[all-commits] [llvm/llvm-project] 6240f4: Recommit "[LV] Allow tryToCreateWidenRecipe to ret...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Feb 24 02:36:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6240f436dd24f6734344c732d41e487662141174
      https://github.com/llvm/llvm-project/commit/6240f436dd24f6734344c732d41e487662141174
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
    M llvm/test/Transforms/LoopVectorize/single-value-blend-phis.ll

  Log Message:
  -----------
  Recommit "[LV] Allow tryToCreateWidenRecipe to return a VPValue, use for blends."

This reverts the revert commit 437f0bbcd509d0ed71b91ec1f86f48c2f4aae980.

It adds a new toVPRecipeResult, which forces VPRecipeOrVPValueTy to be
constructed with a VPRecipeBase *. This should address ambiguous
constructor issues for recipe sub-types that also inherit from VPValue.




More information about the All-commits mailing list