[all-commits] [llvm/llvm-project] 62da90: [LV] Optimize partial reduction extends before han...
Benjamin Maxwell via All-commits
all-commits at lists.llvm.org
Wed Jun 3 04:14:22 PDT 2026
Branch: refs/heads/users/MacDue/fix_inloop_sub_pr
Home: https://github.com/llvm/llvm-project
Commit: 62da90f502f6afccefadcddc18e21c136c9649e0
https://github.com/llvm/llvm-project/commit/62da90f502f6afccefadcddc18e21c136c9649e0
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2026-06-03 (Wed, 03 Jun 2026)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
M llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-chained.ll
M llvm/test/Transforms/LoopVectorize/AArch64/partial-reduce-usabs.ll
Log Message:
-----------
[LV] Optimize partial reduction extends before handling inloop subs
The crash avoided in #194660 was caused by the extend optimizations
failing to match as due to the extra sub/negation added to the
"ExtendedOp".
A similar crash exists for [us]abs partial reductions
(see https://godbolt.org/z/MerMon5rE), which is fixed with this patch.
This patch solves the underlying issue by running the extend optimizations
before any inloop sub/fsub handling.
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