[all-commits] [llvm/llvm-project] 7c3c35: [VPlan] Separate ctors for VPWidenIntOrFpInduction...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sun Dec 5 04:16:10 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c3c352d82131b960726560869945201410f9eb7
      https://github.com/llvm/llvm-project/commit/7c3c352d82131b960726560869945201410f9eb7
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2021-12-05 (Sun, 05 Dec 2021)

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

  Log Message:
  -----------
  [VPlan] Separate ctors for VPWidenIntOrFpInduction. (NFC)

VPWidenIntOrFpInductionRecipes can either be constructed with a PHI and
an optional cast or a PHI and a trunc instruction. Reflect this in 2
separate constructors. This also simplifies a follow-up change.




More information about the All-commits mailing list