[all-commits] [llvm/llvm-project] 1b711b: [VPlan] Clean up the function VPInstruction::gener...

Mel Chen via All-commits all-commits at lists.llvm.org
Mon May 19 02:31:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b711b27d20500639e42fb866e3a20ef8d39326c
      https://github.com/llvm/llvm-project/commit/1b711b27d20500639e42fb866e3a20ef8d39326c
  Author: Mel Chen <mel.chen at sifive.com>
  Date:   2025-05-19 (Mon, 19 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp

  Log Message:
  -----------
  [VPlan] Clean up the function VPInstruction::generate for ComputeReductionResult, nfc (#140245)

When reducing unrolled parts, explicitly check for min/max reductions
using the function RecurrenceDescriptor::isMinMaxRecurrenceKind. Only if
the reduction is not min/max reduction, call
RecurrenceDescriptor::getOpcode() to handle other cases via CreateBinOp.

Based on https://github.com/llvm/llvm-project/pull/140242
Related to https://github.com/llvm/llvm-project/pull/118393



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