[all-commits] [llvm/llvm-project] 3bf597: [LV] Optimize partial reduction extends before han...
Benjamin Maxwell via All-commits
all-commits at lists.llvm.org
Tue May 26 04:48:33 PDT 2026
Branch: refs/heads/users/MacDue/fix_inloop_sub_pr
Home: https://github.com/llvm/llvm-project
Commit: 3bf59729c8482020323da4a4c3972b70b62ff503
https://github.com/llvm/llvm-project/commit/3bf59729c8482020323da4a4c3972b70b62ff503
Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
Date: 2026-05-26 (Tue, 26 May 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