[all-commits] [llvm/llvm-project] 1261f5: [VPlan] Split simplifyRecipes into simplifyRecipes...

Luke Lau via All-commits all-commits at lists.llvm.org
Tue Sep 8 20:21:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1261f5003d93e83295b93782b871be06db2564c4
      https://github.com/llvm/llvm-project/commit/1261f5003d93e83295b93782b871be06db2564c4
  Author: Luke Lau <luke at igalia.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
    M llvm/test/Transforms/LoopVectorize/VPlan/constant-fold.ll
    M llvm/test/Transforms/LoopVectorize/VPlan/vplan-print-before-after-all.ll
    M llvm/test/Transforms/LoopVectorize/X86/funclet.ll
    M llvm/test/Transforms/LoopVectorize/vplan-print-before-after.ll

  Log Message:
  -----------
  [VPlan] Split simplifyRecipes into simplifyRecipes and combineRecipes (#221924)

Bringing it in line with InstSimplify and InstCombine, split up
simplifyRecipe into a function that modifies and creates recipes
(combineRecipe), and one that is analysis-only (simplifyRecipe).

This allows us to avoid adding simplficiation only folds to the worklist
in #213899.

The funclet.ll test no longer erases the constant-folded intrinsic call
because vputils::isDeadRecipe returns false.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list