[all-commits] [llvm/llvm-project] 8a6d5f: [VPlan] Update more VPRecipeBuilder members to tak...

Florian Hahn via All-commits all-commits at lists.llvm.org
Fri Nov 7 13:07:04 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a6d5f68e48f3a20effd2bf78a99130b89ca413e
      https://github.com/llvm/llvm-project/commit/8a6d5f68e48f3a20effd2bf78a99130b89ca413e
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

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

  Log Message:
  -----------
  [VPlan] Update more VPRecipeBuilder members to take VPInst directly (NFC)

Update VPRecipeBuilder methos to take VPInstruction* directly instead of
ArrayRef<> for operands and Instruction * separately.

This allows avoid accessing the underlying instruction in some cases, by
using information directly from VPInstruction, like getOpcode(),
getDebugLoc(), and getOperand().

It also allows directly transferring other information directly from
VPInstruction in the future.



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