[all-commits] [llvm/llvm-project] c0cf20: [VPlan] Add VPWidenIntOrFpInductionRecipe::isCanon...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Jan 21 01:35:34 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c0cf209076a29076ebf43c59dff3cc3c8400e4d7
      https://github.com/llvm/llvm-project/commit/c0cf209076a29076ebf43c59dff3cc3c8400e4d7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-01-21 (Fri, 21 Jan 2022)

  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/VPlanValue.h

  Log Message:
  -----------
  [VPlan] Add VPWidenIntOrFpInductionRecipe::isCanonical, use it (NFCI).

This patch adds VPWidenIntOrFpInductionRecipe::isCanonical to check if
an induction recipe is canonical. The code is also updated to use it
instead of isCanonicalID.

Reviewed By: Ayal

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




More information about the All-commits mailing list