[all-commits] [llvm/llvm-project] 118963: [VPlan] Add VPInterleaveRecipe::NeedsMaskForGaps f...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Apr 7 05:11:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11896357d413553a705ea552dbeeaa591c8f66ca
      https://github.com/llvm/llvm-project/commit/11896357d413553a705ea552dbeeaa591c8f66ca
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2023-04-07 (Fri, 07 Apr 2023)

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

  Log Message:
  -----------
  [VPlan] Add VPInterleaveRecipe::NeedsMaskForGaps field (NFCI).

This patch adds a NeedsMaskForGaps field to VPInterleaveRecipe to record
whether a mask for gaps is needed. This removes a dependence on the cost
model in VPlan code-generation.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D147467




More information about the All-commits mailing list