[all-commits] [llvm/llvm-project] c75862: [VPlan] Don't create sub(ext(mul(...))) partial re...

John Brawn via All-commits all-commits at lists.llvm.org
Wed Apr 29 02:53:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7586233c0eddff6003ce2bbb4a873600df0aec4
      https://github.com/llvm/llvm-project/commit/c7586233c0eddff6003ce2bbb4a873600df0aec4
  Author: John Brawn <john.brawn at arm.com>
  Date:   2026-04-29 (Wed, 29 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-chained.ll

  Log Message:
  -----------
  [VPlan] Don't create sub(ext(mul(...))) partial reductions (#194660)

Currently if we have a loop that does a sub(ext(mul(...))) reduction
then createPartialReductions will try to transform it to a partial
reduction but then crash due to hitting an llvm_unreachable in
createPartialReductionExpression.

It looks like handling this in createPartialReductionExpression would
require adding a new expression recipe kind, so for now just don't try
to use a partial reduction so we avoid the crash.

Fixes #194000



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