[all-commits] [llvm/llvm-project] f586de: [VPlan] Remove PredInst2Recipe, use VP operands in...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Mar 16 10:41:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f586de8459ce897faf532fdd49fd4aa81747589e
      https://github.com/llvm/llvm-project/commit/f586de8459ce897faf532fdd49fd4aa81747589e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
    M llvm/lib/Transforms/Vectorize/VPlan.h

  Log Message:
  -----------
  [VPlan] Remove PredInst2Recipe, use VP operands instead. (NFC)

Instead of maintaining a separate map from predicated instructions to
recipes, we can instead directly look at the VP operands. If the operand
comes from a predicated instruction, the operand will be a
VPPredInstPHIRecipe with a VPReplicateRecipe as its operand.




More information about the All-commits mailing list